4 ms·
Do... you not turn the foreign key constraints off during migration? In SQLite it's a pragma, in Postgres you turn triggers off, those are the ones I've person
by samatman 4y ago
Do... you not turn the foreign key constraints off during migration?
In SQLite it's a pragma, in Postgres you turn triggers off, those are the ones I've personally done but surely any relational database has this ability for this specific reason?
- wahnfrieden 4y agobest to use tools for this such as https://github.com/fabianlindfors/reshape https://github.com/fabianlindfors/reshape or gh-ost for mysql