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

Does golang-migrate support exporting the final SQL schema? #1118

Open
ZhengXinwei-F opened this issue Jul 17, 2024 · 1 comment
Open

Does golang-migrate support exporting the final SQL schema? #1118

ZhengXinwei-F opened this issue Jul 17, 2024 · 1 comment

Comments

@ZhengXinwei-F
Copy link

ZhengXinwei-F commented Jul 17, 2024

Is your feature request related to a problem? Please describe.

I am considering using golang-migrate for incremental database migrations.

One key requirement is the ability to export the final SQL schema, making it easier to verify the resulting database schema without directly exporting from the database.

Describe the solution you'd like

golang-migrate can export the final SQL schema

Describe alternatives you've considered

If golang-migrate does not support this feature, I would consider applying all migrations to a test database and exporting the schema from there.

Additional context

I am looking forward to your response and appreciate any guidance you can provide. Any further discussions or suggestions can be discussed here.

@ZhengXinwei-F
Copy link
Author

/label support

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

No branches or pull requests

1 participant