0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/schema/fixtures
Katharina Irrgang c070c9722d 🐛 re-run init migrations protection (#7899)
no issue

- if re-running the init scripts (for example: you lost the init rows in the migrations table), then it was throwing errors
- 1. the owner slug and email can change -> no match and it tried to reinsert the user with id 1, which failed
- 2. querying an inactive user is not allowed, because the user model protects against it
2017-01-25 22:08:09 +01:00
..
fixtures.json 🐛 re-run init migrations protection (#7899) 2017-01-25 22:08:09 +01:00
index.js
utils.js 🐛 re-run init migrations protection (#7899) 2017-01-25 22:08:09 +01:00