Prisma migrate dev keeps wanting to drop my sequence
I created an empty migration file, added my sequence in. After that I ran migrate dev which will generate the sql necessary to insert my column
It creates the sql for inserting that column
But after running migrate dev again, it keeps creating a new migration with this content
add_sequence.sql migration -
I'm unsure why this is happening
orderNumber Int? @unique @default(dbgenerated("nextval('order_number_seq')"))It creates the sql for inserting that column
But after running migrate dev again, it keeps creating a new migration with this content
add_sequence.sql migration -
I'm unsure why this is happening