How to redeploy when adding not-nullable field to datamodel.graphql? #2190
-
I have created my datamodel.graphql and I added some data to the database to test. Now I added a not-nullable field to the type in my datamodel.graphql but I cannot deploy my prisma because it does not allow it due to having not-nullable fields. Of course I can run prisma delete and redeploy it again but let's say we are in the production and deleting is not an option. How can we handle this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This sounds like a Prisma 1 question. Prisma 1's repository was moved to https://github.com/prisma/prisma1, so you might want to ask your question there again to get an answer. |
Beta Was this translation helpful? Give feedback.
This sounds like a Prisma 1 question. Prisma 1's repository was moved to https://github.com/prisma/prisma1, so you might want to ask your question there again to get an answer.