inhanbyeol
PPrisma
•Created by inhanbyeol on 8/30/2024 in #help-and-questions
Typedsql Type?
Can you guess why?
2 replies
PPrisma
•Created by inhanbyeol on 6/26/2024 in #help-and-questions
Problems when deploying after a failed migration
I ran the test with the following example
1. assuming I have raw data, I created a field called test String and ran
prisma migrate dev --name test --create-only
.
2. when I ignored the warning and ran prisma migrate dev
, a migration error occurred and a failed record was created in _prisma_migrations.
3. followed the official guide and ran deploy after rollback https://www.prisma.io/docs/orm/prisma-migrate/workflows/patching-and-hotfixing#option-1-mark-the-migration-as-rolled-back-and-re-deploy
4. reflected as normal
5. if you are working on additional migrations, we recommend a data wipe due to the following issue
(The migration 20240626014409_test
was modified after it was applied)
Why?2 replies
PPrisma
•Created by inhanbyeol on 4/20/2024 in #help-and-questions
prisma migrate reset --force
Hi, I'm a prisma user.
I am running prisma migrate reset --force to configure a test environment.
However, even though I set the --force option, I am getting the following input window. Why?
'Are you sure you want to reset your database? All data will be lost.' (y/N)
1 replies