Home > Software design >  Prisma error message: Do you want to continue? All data will be lost. » (y/N)
Prisma error message: Do you want to continue? All data will be lost. » (y/N)

Time:01-18

I've faced the error message like Do you want to continue? All data will be lost. » (y/N) from prisma. So I type 'y' and then all data of prisma was gone. Can I revert it back? :(

CodePudding user response:

No, it's not possible, unless you manually created some backup beforehand.

I suggest you to create some seeding script so you could consistently re-create the database state, it's very useful for your development environment.

More info

  •  Tags:  
  • Related