Hi, I have a very strange behaviour I don't really understand. When I run a migration adding a colum
Hi, I have a very strange behaviour I don't really understand.
When I run a migration adding a column in Table A (by deferring foreign keys ON, creating a new table, copying all data, deleting the old table, renaming the new table to the name of the old table and setting defer foreign keys OFF), all relations of table B to table A (with the id of A in table B) are now
How can I work around this? The migration is generated by Prisma and looks like this:
Any idea? Thanks in advance
When I run a migration adding a column in Table A (by deferring foreign keys ON, creating a new table, copying all data, deleting the old table, renaming the new table to the name of the old table and setting defer foreign keys OFF), all relations of table B to table A (with the id of A in table B) are now
null...How can I work around this? The migration is generated by Prisma and looks like this:
Any idea? Thanks in advance








