WaspW
Wasp13mo ago
Bruno Njeru

database migration

i made changes to the prisma.schema models and the dbSeeds.ts functions by adding more models and more fields. when i run wasp db migrate-dev i get an error.
Error:
⚠️ We found changes that cannot be executed:

• Step 0 Added the required column vendorId to the
Product
table without a default value. There are 70 rows in this table, it is not possible to execute this step.

im trying to delete the old database entries on wasp db studio but i also can't. iss there a way around this?
Was this page helpful?