Ghost/core/server/data/migration
Hannah Wolfe 81deb88263 Improve getDatabaseVersion & versioning tests
refs #6301

- `currentVersion` was leftover from before the first public release of Ghost!
- simplified the code for `getDatabaseVersion`
- improved & made consistent how errors are handled in `getDatabaseVersion`
- migration error handling updated to reflect the changes in `getDatabaseVersion`
- added tests for both `getDatabaseVersion` and `setDatabaseVersion`
2016-03-14 17:11:04 +00:00
..
fixtures Refactor & test fixture migrations 2016-03-03 09:03:37 +00:00
builder.js Remove i18n from migration output 2016-02-19 12:23:19 +00:00
index.js Improve getDatabaseVersion & versioning tests 2016-03-14 17:11:04 +00:00