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

MySQL sync --all-structure #113

Open
Kanti opened this issue Mar 19, 2019 · 0 comments
Open

MySQL sync --all-structure #113

Kanti opened this issue Mar 19, 2019 · 0 comments
Labels
enhancement New feature or request feature
Milestone

Comments

@Kanti
Copy link
Member

Kanti commented Mar 19, 2019

If I sync a project for the first time, I would like to sync all table structure and only the data which is not excluded.

Something like this could help:

mysqldump --ignore-table=db_name.table_name db_name \
| (cat && mysqldump --no-data db_name table_name) | mysql ...

as see here: https://stackoverflow.com/a/29494950

@Kanti Kanti added enhancement New feature or request feature labels Mar 19, 2019
@Kanti Kanti added this to the Target 1.x milestone Mar 19, 2019
@Kanti Kanti modified the milestones: Target 1.x, Target 1.1 Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

1 participant