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

feat(status): Add status command #29

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

psucodervn
Copy link
Contributor

Add status command for viewing status of migrations:

$ go run *.go status
+---------+------------------------------------------------+-------+
| Applied | Migration                                      | Batch |
+---------+------------------------------------------------+-------+
|| 2021_02_26_151503_dump                         |     1 |
|| 2021_02_26_151504_create_a_dump_table_for_test |     2 |
|         | 2021_02_26_151502_create_2nd_dump_table        |       |
|         | 2021_02_26_151505_create_3rd_dump_table        |       |
+---------+------------------------------------------------+-------+

@robinjoseph08
Copy link
Owner

Hey @psucodervn, I know this is super old, but this PR looks great, and I'm going to merge it! I appreciate the contribution!

@robinjoseph08 robinjoseph08 merged commit 6fa28e1 into robinjoseph08:master Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants