PrismaP
Prisma2y ago
1 reply
devth

accidental db push

A teammate changed the schema and ran db push on an existing database instead of
npx prisma migrate dev
. Is there a way to retroactively create a migration that would allow rolling forward without resetting the database? The change was adding a single column - and if we need to drop that column that's fine but I'd like to avoid dropping the entire db.
Was this page helpful?