-
Why when I make any changes to an existing model does the DB have to be emptied? I want to bring keystonejs to production but this worries me that tomorrow the production DB will disappear... |
Beta Was this translation helpful? Give feedback.
Answered by
borisno2
Dec 12, 2023
Replies: 1 comment 2 replies
-
Hey, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dcousens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
A destructive database migration will only happen when running
keystone dev
which is not recommended against a production database as it will reset the db if a clean migration cannot be performed. Have a look at the database migration guide in the keystone docs for more information on database migrations.