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

Option to drop some tables #24

Open
dracic opened this issue Apr 16, 2021 · 1 comment
Open

Option to drop some tables #24

dracic opened this issue Apr 16, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dracic
Copy link
Contributor

dracic commented Apr 16, 2021

wp.py line 299

#TODO: drop tables that are not listed at all (?)

Suggestion - not listed tables should not be dropped. My thoughts about that... Let's assume we have a lot of tables, but a lot of them won't be filtered. We need all data (read only perhaps) for all users. It would be an overhead to list all tables. Let's assume that all data is needed.

  • if I need some helper tables in main project for some reason, an option to drop that table in work packages should be added.
  • If I need some helper or sketch tables in work packages, an option to exclude it from syncing back to main project should be added. Similar to Add option to omit sync of some project files #15
@wonder-sk
Copy link
Contributor

You're right - both options are valid - to keep some tables intact, and to drop some tables from WPs. That's one of the reasons why the method was introduced for tables - right now the only method is filter-column, but we could other filtering options, or to have an option to drop the particular table (and I agree, the best default is to keep tables).

There could be also another option that would control sync direction - right now we always sync both directions (master to WP, WP to master), but it would be useful in some cases to disable on direction.

@wonder-sk wonder-sk changed the title #TODO: drop tables that are not listed at all (?) - suggestion Option to drop some tables May 6, 2021
@wonder-sk wonder-sk added the enhancement New feature or request label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants