Drift detected after migration reset
Hi, I'm having trouble with adding changes to our db because of Drift detected issue, event after. I did the ff
migration reset --force
migration status
but if I run migration dev -n test_table_change
I get the following error.
and I get the following errors from my mariadb container
prisma version is '5.16.2' and by binary targets:
- "native",
- "darwin",
- "linux-arm64-openssl-1.0.x",
- "rhel-openssl-1.0.x"1 Reply
hoping someone can help thanks
I found the cause of the problem, It was due to 2 reason, 1st wrong path in my docker-compose file for the sql config, second is the wrong default value for nullable datetime column
@default(dbgenerated("('0000-00-00 00:00:00')")) @db.Timestamp(0)