214 Commits

Author SHA1 Message Date
Liam Staskawicz
ad5db711d8 migrate: cleaner and more explicit handling of target version 2012-12-15 11:29:20 -08:00
Liam Staskawicz
36f3bce74a let DBConf definition live in main, since it will be common to several commands 2012-12-15 10:48:32 -08:00
Liam Staskawicz
5c8a0d2123 more reorg: move migration specific logic to migrate.go, no functional change. 2012-12-15 10:37:29 -08:00
Liam Staskawicz
396d40b6ab reorg only: rename goose.go to main.go 2012-12-15 10:26:54 -08:00
Liam Staskawicz
b373fe57bd migrations: capture next/previous versions - can't assume migration IDs will be sequential 2012-12-11 09:24:51 -08:00
Liam Staskawicz
8394b86b46 readme: tweaks 2012-12-10 09:12:43 -08:00
Liam Staskawicz
2454507384 readme: prelim usage notes 2012-12-10 09:03:57 -08:00
Liam Staskawicz
6622648865 dbconf: use standard .yml suffix rather than .yaml 2012-12-10 08:49:47 -08:00
Liam Staskawicz
04abe351a6 migration_go: insert DB version as part of each migration's transaction 2012-12-10 08:45:09 -08:00
Liam Staskawicz
9a39a80ec9 re-org: move more SQL specific code into migration_sql.go. also, acknowledge that we're only going to run one go migration at a time for now 2012-12-10 08:35:46 -08:00
Liam Staskawicz
7b645a2844 break sql migration code out into separate file. re-org only, no functional changes. 2012-12-10 00:02:57 -08:00
Liam Staskawicz
7c7ee46218 rough support for .go migrations 2012-12-10 00:00:06 -08:00
Liam Staskawicz
9802b11405 gitignore 2012-11-24 16:57:41 -08:00
Liam Staskawicz
3e2b32284c initial commit - roughly working round trip migrations 2012-11-24 16:57:03 -08:00