mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
eddb77e204
- if we add a column with a foreign key reference, the `down` migration will try to remove that column - you can't remove a column without deleting the foreign key reference first - our migration utils didn't take that into account and there's nothing in Knex to do this for us - this commit deletes the foreign key before removing the column if we have one referenced in the column spec - also updates the code to pass the column spec into the util |
||
---|---|---|
.. | ||
client@ef66ef1403 | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |