Following command will do a soft reset
npx prisma migrate reset
This command will drop all tables and Recreate Schema with correct column order.
After that, following command will recreate the migration for version control
npx prisma migrate dev --name recreate-tradingdata-table
Discover more from Learners Store
Subscribe to get the latest posts sent to your email.