0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
Katharina Irrgang 9fad7f1d69 use migration runner for init db (#7502)
refs #7489

* 🎨  protect error when creating owner
* 🎨  reset migration table
- temporary solution, see TODO's
* 🎨  use sephiroth in bootUp script
- do not populate the database
- ask sephiroth for database state
- do seeding manually (this will be removed in next seeding PR)
* 🎨  rewrite createTableIfNotExists because it causes error when running twice
- see knex issue
- hasTable and createTable
- indexes can cause trouble when calling them twice
* 🎨  tests: populate db in test env
- when forking db
- when starting ghost()
- this basically affects only the functional tests
* 🎨  server spec test adaption
- we now throw an error when database is not populated, instead of populating the database
* 🎨   migration spec adaption
- reset database now deletes migration table
- we will move the reset script into sephiroth and then we make it pretty
* 🎨  error creation adaption in bootUp
* 🎨  fixes
- sephiroth error handling
- fix tests
2016-10-11 13:37:11 +01:00
..
db utf8mb4 support (#7409) 2016-09-20 15:59:34 +01:00
export Error creation (#7477) 2016-10-06 13:27:35 +01:00
import Error creation (#7477) 2016-10-06 13:27:35 +01:00
importer Error creation (#7477) 2016-10-06 13:27:35 +01:00
meta Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
migration use migration runner for init db (#7502) 2016-10-11 13:37:11 +01:00
migrations/init Migration runner - first iteration (#7501) 2016-10-10 13:27:31 +01:00
schema use migration runner for init db (#7502) 2016-10-11 13:37:11 +01:00
sephiroth 🎨 optimise sephiroth error handling (#7531) 2016-10-10 18:31:32 +01:00
slack Error creation (#7477) 2016-10-06 13:27:35 +01:00
validation Error creation (#7477) 2016-10-06 13:27:35 +01:00
xml Move internal tags out of labs (#7519) 2016-10-10 09:51:03 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00