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

Separate checkboxes for drop/create tables, procedures etc. in SQL export #1957

Open
yanis60 opened this issue May 18, 2024 · 4 comments
Open
Labels

Comments

@yanis60
Copy link

yanis60 commented May 18, 2024

Is your feature request related to a problem? Please describe.
When i export an updated database structure, i want to recreate the triggers if i have edited them (for functions and procedures too) so in mysql i need to remove them and create them.
Actually we can do that only with tables.
Could you please make the same feature for triggers, functions and procedures separately?
Here is a picture
Capture d’écran 2024-05-18 193851

@ansgarbecker
Copy link
Collaborator

I think this is more an issue with the "Table(s)" label on the left side of the checkboxes. In fact, not only tables are dropped and created there, but all objects.
Just try it out - the export should contain for instance DROP PROCEDURE IF EXISTS ... and CREATE ... procedure ... statements.

@yanis60
Copy link
Author

yanis60 commented May 19, 2024

In my case i need to drop only procedures, functions and triggers, i must not drop tables because it's more dangerous than other objects.

I suggest to add the same options to others objects

@ansgarbecker
Copy link
Collaborator

Ok so you want separate checkboxes for tables, procedures etc.

@ansgarbecker ansgarbecker changed the title Add ability like table to check if we want to add delete or create triggers, function, procedures like table in export dialog Separate checkboxes for drop/create tables, procedures etc. in SQL export May 19, 2024
@yanis60
Copy link
Author

yanis60 commented May 19, 2024

yes please, it will be a great feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants