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

Handling for Views in db:dump / db:drop #602

Open
cmuench opened this issue Aug 26, 2020 · 2 comments
Open

Handling for Views in db:dump / db:drop #602

cmuench opened this issue Aug 26, 2020 · 2 comments

Comments

@cmuench
Copy link
Member

cmuench commented Aug 26, 2020

Feature description

Currently we do not handle views during db:dump operations.
If you run db:dump --drop-tables or db:drop --tablesall existing tables will be removed before the command logic is executed.
If there are views, the views remain. That's expected.

The feature could add additional --drop-views and --views option to the commands.

Problem and motivation

Resolves question in #579

@torhoehn
Copy link
Contributor

@cmuench The title of the issue should contain db:dump instead of db:import, shouldn't it?

@cmuench cmuench changed the title Handling for Views in db:import Handling for Views in db:dump / db:drop Sep 21, 2022
@cmuench
Copy link
Member Author

cmuench commented Sep 21, 2022

@torhoehn good finding.

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

Successfully merging a pull request may close this issue.

2 participants