2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/data
Katharina Irrgang 584bd15b76 🔥 remove database version (#7894)
refs #7489

- as we are now using a different migration approach (knex-migrator), we don't need to remember the database version anymore
- it was once used to check the state of a database and based on it we decided to migrate or not
- with knex-migrator everything depends on the migration table entries and the current ghost version you are on
- on current master the leftover usage is to add the db version when exporting the database, which can be replaced by reading the ghost version
- removing this solves also an interesting migration case with knex-migrator:
  - you are on 1.0
  - you update to 1.1, but 1.1 has no migrations
  - the db version would remain in 1.0
  - because the db version was only updated when knex migrator executed a migration
2017-01-26 12:12:00 +00:00
..
db 🐛 fix backup database (#7898) 2017-01-25 20:34:31 +01:00
export 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
import 🐛 import subscribers (#7834) 2017-01-10 19:38:20 +00:00
importer chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
meta 🎨 escape sameAs for structured data (#7833) 2017-01-10 12:21:37 +00:00
migrations 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
schema 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
slack Error creation (#7477) 2016-10-06 13:27:35 +01:00
validation Use moment-timezone when using .tz() (#7653) 2016-10-31 14:44:24 +01:00
xml 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00