Vojtech Vitek (V-Teq)
|
c78d864291
|
Register Go functions as complex Go migrations
|
2016-03-03 18:48:45 -05:00 |
Vojtech Vitek (V-Teq)
|
2cccd9df36
|
Refactor goose pkg
|
2016-03-02 17:23:15 -05:00 |
Vojtech Vitek (V-Teq)
|
47e4c98a97
|
Move lib/goose into top level pkg
|
2016-02-26 14:50:27 -05:00 |
Liam Staskawicz
|
381d1ac678
|
wip (not building): begin restructuring into separate cmd and lib packages, to allow external applications to make use of goose's internal functionality. part of #6.
|
2013-09-30 13:38:02 -07:00 |
Liam Staskawicz
|
cb801ded9c
|
sql migrations: add new annotation to accommodate SQL statements that may have semicolons within them, such as functions. some basic tests as well. fixes #4
|
2013-09-27 14:24:37 -07:00 |
Liam Staskawicz
|
bab8917da5
|
dialect: use insertVersionSql() to ensure txn.Exec() args are handled properly in each dialect
|
2013-07-08 23:37:30 -07:00 |
Liam Staskawicz
|
f8e86e3745
|
migration: allow database/sql to do type conversion to avoid dialect differences
|
2013-06-30 11:38:24 -07:00 |
Liam Staskawicz
|
c9a4615595
|
migration sql: error out if no annotations are found, rather than marking the migration as having run successfully.
|
2013-04-07 16:55:13 -07:00 |
Liam Staskawicz
|
bb38ea2554
|
sql migration: diagnose scripts that have no Up/Down annotations. fixes #3
|
2013-04-07 12:17:07 -07:00 |
Liam Staskawicz
|
3c6b6c35c4
|
use filepath rather than path to ensure we're dealing with filenames in an OS compatible way. fixes #2.
|
2013-02-24 23:06:12 -08:00 |
Liam Staskawicz
|
77a0382914
|
results: don't bother counting the number of sql statements. we don't have a good way of tracking it for go migrations, and it's not particularly helpful either
|
2013-01-04 19:39:36 -10:00 |
Liam Staskawicz
|
517e1701e2
|
breaking change: version id is now int64 to accommodate larger date-based version id schemes
|
2013-01-04 19:22:03 -10:00 |
Liam Staskawicz
|
4bec0b22ec
|
breaking change: add a column to the version table to record whether we migrated up or down. fixes the case in which we weren't correctly calculating the current version previously in some cases, and also allows us to maintain a more complete historic record of all migrations made.
|
2013-01-04 18:11:18 -10:00 |
Liam Staskawicz
|
c28116e175
|
reorg: move source files to top level of repo to simplify `go install` usage.
|
2012-12-17 08:12:20 -08:00 |