Rob
09/08/2022, 4:07 PMRaphael Etim
09/08/2022, 4:59 PMnpx prisma db push
command or did you run the migration
command?Rob
09/08/2022, 5:30 PMRaphael Etim
09/08/2022, 5:38 PMnpx prisma db push
command usually results in data loss and is only recommended if you want to quickly prototype and iterate locally, for production workflow, npx prisma migrate
is recommended for keeping your database schema in sync with your Prisma Schema as it evolves and maintianing existing data in your database. See the docs on Prisma Migrate and DB Push.Rob
09/08/2022, 5:52 PMRob
09/08/2022, 5:52 PMRaphael Etim
09/08/2022, 5:55 PM