Varshith Kumar
09/20/2022, 8:12 PMMuhannad
09/20/2022, 8:17 PMVarshith Kumar
09/20/2022, 8:30 PMVarshith Kumar
09/20/2022, 8:30 PMVarshith Kumar
09/20/2022, 8:35 PMMuhannad
09/20/2022, 9:09 PMYou add a mandatory (NOT NULL) column to a table that already has data
• The migration process stopped unexpectedly
• The database shut down in the middle of the migration process
might number 2 is your issue , you need to add a default valueJarupong
09/21/2022, 4:05 AMmigrate resolve --applied <YOUR MIGRATION>
instead
https://www.prisma.io/docs/reference/api-reference/command-reference#examples-11Nurul
09/21/2022, 9:15 AM