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

Migrations: cli for gen, list, up, and down #30

Open
tshemsedinov opened this issue Sep 13, 2020 · 0 comments
Open

Migrations: cli for gen, list, up, and down #30

tshemsedinov opened this issue Sep 13, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request metarhia-s'22

Comments

@tshemsedinov
Copy link
Member

tshemsedinov commented Sep 13, 2020

metasql c // create database creation script from current schema
metasql g // generate migration from current schema
metasql m // apply all generated migrations
metasql m <number> // apply or rollback to the specified version
metasql l // list with statuses: generated, applied, current
@tshemsedinov tshemsedinov added the enhancement New feature or request label Sep 13, 2020
@tshemsedinov tshemsedinov self-assigned this Sep 13, 2020
tshemsedinov added a commit that referenced this issue Sep 14, 2020
tshemsedinov added a commit that referenced this issue Sep 14, 2020
tshemsedinov added a commit that referenced this issue Sep 15, 2020
tshemsedinov added a commit that referenced this issue Sep 15, 2020
tshemsedinov added a commit that referenced this issue Sep 15, 2020
tshemsedinov added a commit that referenced this issue Sep 16, 2020
tshemsedinov added a commit that referenced this issue Sep 16, 2020
Refs: #30

PR-URL: #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request metarhia-s'22
Projects
None yet
Development

No branches or pull requests

2 participants