Built a simple framework for easily generating models from SQL-defined migrations #1417
raphoester
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I didn't really know how to send this so I'm just opening an issue.
I just created a simple boilerplate project that helps handling the reloading of the models after the migrations have been updated.
This is particularly useful in a dev environment where multiple developers are working on the same database and cannot simply update the schema at will with their local changes.
I would have simply used go migrate but sqlboiler doesn't support loading schema from files directly.
Hope that helps !
https://github.com/raphoester/sqlboilerplate/
Beta Was this translation helpful? Give feedback.
All reactions