Delete Migration and its history

Delete Migration and its history 


If you want to delete the migration and its history (so it's like it never existed), do the following:

  1. Delete the migration folder:
  1. Remove the migration record from the database:

If you use Prisma, run this SQL in your database (using psql or a GUI):

This will remove the migration from both your codebase and the migration history table.

Comments

Popular posts from this blog

React Native

Clone GitHub repository to SourceTree

Commands for setting up and running a development environment