mig
mig copied to clipboard
The Universal Database Migration Runner. Distributed as precompiled binaries.
Running the sqlite tests using the `mig` binaries available in the releases produces this output: ```json { "error":"unable to tell if 'migrations' table exists!", "error_details":"Binary was compiled with 'CGO_ENABLED=0', go-sqlite3...
Unfortunately some obscure, rarely-used build tool as part of Xcode has a conflicting name of `mig`. Either the README should recommend how to get around this or the binary should...
something like this ```sh $ ls migrations > my-template.sql $ mig create --template my-template foo ```
something like this: ```sh mig create --template rename change-name-to-username ``` sometimes this will produce multiple migration files
Here's an example syntax error: ``` Encountered an error while running migration! pq: syntax error at or near "(" ``` It must display at least a row and column. Ideally...