Ghost/core/server/data/migrations/hooks
Katharina Irrgang 0bb81bb3c4
Bump knex-migrator to version 3.1.1 (#9199)
no issue

- adapt major changes of knex-migrator v3
- adapt migration scripts, simplify and add `down` (rollback) hook if possible
- clear Ghost cache after init hook (because of `knex-migrator migrate --init`)
- ensure db migrations work with the CLI
- updated troubleshooting guide (https://docs.ghost.org/v1/docs/troubleshooting#section-task-execute-is-not-a-function)

**For development only: Please ensure you run `npm i -g knex-migrator@latest` to update your global installation to v3. We always prefer the local installation, but v3 has modified and added binaries.**
2017-12-05 09:14:55 +01:00
..
init Bump knex-migrator to version 3.1.1 (#9199) 2017-12-05 09:14:55 +01:00
migrate Bump knex-migrator to version 3.1.1 (#9199) 2017-12-05 09:14:55 +01:00