Gaurish
09/13/2022, 5:55 PMmodel Reminder {
userId String
id String @id @default(uuid()) @unique
content String
endsAt DateTime
}
Error:
⚠️ We found changes that cannot be executed:
• Step 0 The required column id
was added to the Reminder
table with a prisma-level default value. There are 1 rows in this table, it is not possible to execute this step. Please add this column as optional, then populate it before making it required.
You can use prisma migrate dev --create-only to create the migration file, and manually modify it to address the underlying issue(s).
Then run prisma migrate dev to apply it and verify it works.Bastien Etienne
09/14/2022, 8:23 AMVladi Stevanovic
Gaurish
09/16/2022, 11:16 AMVladi Stevanovic