-
I think we should use Because now every time CJ or another dev wants to add a field or change the structure of database we will have a new migration file or the init file will be replaced (replacing init file throws the idea of creating a migration file in the first place through the window). My recomendation is deleting de init file for now, only use What you guys think? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yeah this makes sense. I have been avoiding reading about this in the prisma docs, but it seems like |
Beta Was this translation helpful? Give feedback.
-
BTW. I think we should keep the init migration file for now. I still like seeing the SQL code in the codebase. |
Beta Was this translation helpful? Give feedback.
Yeah this makes sense. I have been avoiding reading about this in the prisma docs, but it seems like
prisma db push
is exactly the workflow we want until we have solidified db structure.