When new table is created with @default(dbgenerated("NOW() + interval '1 day'")) @db.Timestamp(6) column and the migration is applied, next run of npx prisma migrate dev requests to create a new migration for the same column.
How to reproduce
For the postgres database create a new table with field like
Bug description
When new table is created with
@default(dbgenerated("NOW() + interval '1 day'")) @db.Timestamp(6)
column and the migration is applied, next run ofnpx prisma migrate dev
requests to create a new migration for the same column.How to reproduce
npx prisma migrate dev
without changing anything elseExpected behavior
No new migrations are created after the initial one
Prisma information
Environment & setup
Prisma Version