I haven’t found anything that really integrates well with my workflow. All I see is complex solutions for complex databases but not simple solutions for simple databases.
Yeah I was think about this recently. Git versioning is amazing for redundancy and backing up, but the only place I can’t place a .git folder is in my database. 1 false move and my database is nuked (or parts thereof).
So I went on a strong hunt for (semi) automated backup/transfer solutions, but come up real short. I’ve settled on just manually doing it with the free version of MySQLworkbench, their migrator wizard I find pretty simple to use.
Well that would be just an UI for automating the import/export of sql script files and running them in two different environments. Unfortunately it falls a bit short.
I need something that allows me to revert all my code and db schema to a specified commit and be able to run it via command line.
Today I was taking a look at phinx. Which is a migration tool for php. That was before @George mentioned that they are considering knexjs.
And while I wouldn't have not consider it yesterday because it is too big for what I need(only the migrations) it is now shortlisted as if it's finally included for the db creation tool it will be easier for me to migrate my migrations in case knexjs finally gets integrated.
I'm still quietly and eagerly awaiting the DB creator which will make my workflow faster. I was going to ask for advice about how to manage database versioning but it looks like it's already in the works.