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:
- Delete the migration folder:
- 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
Post a Comment