Replies: 1 comment 2 replies
-
First and more important: always have a reliable backup policy. Accidents may occur occasionally. Second: you can use the diff tool to construct incrementally your database. I would start making a reverse engineering of your current database, perform changes over the model, and then generating diff scripts from that model. Notice that there are situations in the diff that may cause the recreation of some objects which means a drop followed by a create command, so I would also test applying diffs in a development environment first before applying in production. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use pgmodeler to expand an existing database which right now contains three tables that are fully populated. Were these tables to be deleted accidentally by me - perhaps by deleting the database in pgmodeler - it would take up to three weeks to repopulate them so this is something I am very leery of.
What would be a good way to set up this project in pgmodeler? Ideally making it /impossible/ for me to accidentally delete existing tables or the existing database while allowing me to expand it with more tables that are also using the other tables as keys?
Beta Was this translation helpful? Give feedback.
All reactions