Dev:prisma
Table of Contents
Solve The migration MY_MIGRATION was modified after it was applied error
Update migration sha in DB table:
shasum -a 256 prisma/migrations/xxx/migration.sql
And then replace migration sha value in prisma_migrations table
Rollback failed migrations
prisma migrate resolve --rolled-back "20250411120407_created_at_not_null"
Add a migration in migrations table without running the migration
prisma migrate resolve --applied "[migration_name]"