0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
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
..
db Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
export Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
importer Harvest server side strings 2015-12-19 12:12:16 +01:00
meta Merge pull request #6553 from ErisDS/slack-unfurls 2016-02-22 20:17:04 +01:00
migration Improve getDatabaseVersion & versioning tests 2016-03-14 17:11:04 +00:00
schema Improve getDatabaseVersion & versioning tests 2016-03-14 17:11:04 +00:00
validation Harvest server side strings 2015-12-19 12:12:16 +01:00
xml Fix cache-control header for sitemaps 2016-01-25 17:56:05 +00:00
timezones.json Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00