migrate
migrate copied to clipboard
Database migrations. CLI and Golang library.
Logging output is unstructured at the moment. It would be nice to make logging a bit more sophisticated and have drivers return structured logs. v1 tried to make this happen...
I'm… honestly not sure how or why this happens, but a Go program containing just this: ```go package main import ( _ "github.com/mattes/migrate/driver/sqlite3" ) func main() { } ``` Gets...
When using the `goto v` syntax, each time there will be an action, either applying or rolling back the migration version in question. There should be clearly defined semantics (the...
I have path with all my migrations: ```bash ➜ project git:(master) ✗ ll db/migrations total 216 -rw-r--r-- 26B 11:46 1488444209_users_schema.down.sql -rw-r--r-- 20B 11:44 1488444209_users_schema.up.sql -rw-r--r-- 25B 11:47 1488444391_users_type_gender.down.sql -rw-r--r-- 38B...
missing x.down for x.up files leaves values in the schema_migrations relation. Then migrate up and down incorrectly determine the current schema version.
IsReadyFunc waits until container becomes ready for testing. There must be a glitch somewhere, because on travis it doesn't work. Added `MIGRATE_TEST_CONTAINER_BOOT_DELAY=15` for now as a work around. Find bug/...