Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Exporting SQL, Allow User to Split by creating 1 SQL File for each Specific Database Object Types #1865

Open
brian-ceccarelli opened this issue Mar 14, 2024 · 0 comments

Comments

@brian-ceccarelli
Copy link

  1. When exporting, I want to pgModeler to create files like "create_tables.sql", "create_functions.sql", "create_fk_contraints.sql" . . . . One file that creates all the objects of a specific type.

I believe you only need to add a option to the Split drop down box.

  1. Add the check box to SQL file export: "Generate DROP statements too."

Right now you commented the "drop" statements.

Many times, I only need to replace all the functions in an existing database. Or all the triggers. Or all the defaults, etc.
Also when I have database-object-specific scripts, I can run those scripts in a particular order. I can then migrate a database in place, data and all.

We generate SQL scripts and run those scripts against many instances of the database. We do not use export to a Database Server.

@rkhaotix rkhaotix added this to the 1.2.x milestone Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants