Liam Staskawicz
|
6acd40e4a6
|
gitignore: update for forthcoming changes to package structure
|
2013-09-30 13:31:57 -07:00 |
Liam Staskawicz
|
bf614779b1
|
thanks: update
|
2013-09-30 08:13:08 -07:00 |
clipperhouse
|
e524060a89
|
Version needs to be int64, otherwise Go throws with overflow int
|
2013-09-30 08:08:48 -07:00 |
Liam Staskawicz
|
3b8ee5dc3f
|
thanks: add Gyepi Sam & James Cooper
|
2013-09-27 16:01:50 -07:00 |
Liam Staskawicz
|
d5bd1d4aee
|
Merged in gyepisam/goose (pull request #16)
Show usage options in help string
|
2013-09-27 15:57:45 -07:00 |
Liam Staskawicz
|
d6778db387
|
readme: add some notes for new StatementBegin and StatementEnd annotations, and clarify that semicolons are the default statement delimiter
|
2013-09-27 14:25:07 -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
|
5dfd15ece2
|
ensureDBVersion(): clean up after the db version query. fixes issue #10.
|
2013-09-25 11:37:19 -07:00 |
Liam Staskawicz
|
8f76dfe638
|
dbconf: fewer branches in IsValid()
|
2013-07-08 23:38:31 -07:00 |
Liam Staskawicz
|
7664678289
|
dbconf test: fix ordering for Errorf() output
|
2013-07-08 23:37:56 -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
|
2847f34016
|
readme: add contributors section
|
2013-06-30 11:47:19 -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
|
d5427607db
|
readme: update and clarify go migration example
|
2013-06-30 11:08:44 -07:00 |
Gyepi Sam
|
d92ebe5963
|
Merge commit '1cae7f2834e76c410fcdb7514e55c62065787af0'
|
2013-05-20 16:31:08 -04:00 |
Gyepi Sam
|
1cae7f2834
|
Show usage options in help string
|
2013-05-20 16:27:15 -04:00 |
Liam Staskawicz
|
dd0239febf
|
Merged in danielrheath/goose (pull request #15)
Update readme
|
2013-04-23 21:03:29 -07:00 |
Daniel Heath
|
bb8240b815
|
Update readme
|
2013-04-24 12:39:37 +10:00 |
Liam Staskawicz
|
9041c57c74
|
Merged in danielrheath/goose (pull request #14)
Add 'redo' command to goose
|
2013-04-20 09:12:15 -07:00 |
Daniel Heath
|
e3effd59a4
|
Add 'redo' command to goose
|
2013-04-16 10:30:05 +10:00 |
Daniel Heath
|
df02edc595
|
Use a large enough constant to be later than '20130328010151' number format
|
2013-04-16 10:29:40 +10:00 |
Liam Staskawicz
|
66fbe2d01a
|
dialect: introduce layer to implement SQL-specific queries for internal goose operations
|
2013-04-07 17:51:48 -07:00 |
Liam Staskawicz
|
608aee6c2e
|
cleanup: rename MakeDBConf to NewDBConf to more clearly represent what it's actually doing. No functional changes.
|
2013-04-07 17:26:46 -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
|
09e81b9cb9
|
dbconf: allow configuration to override a driver's import field
|
2013-04-07 15:18:43 -07:00 |
Liam Staskawicz
|
4446df2ca6
|
dbconf: split out separate DBDriver struct to encapsulate the info required for a given driver. as a bonus, we now import the correct package for Go migrations based on the driver - previously, we imported postgres only.
|
2013-04-07 14:24:03 -07:00 |
Liam Staskawicz
|
161a0a1cc2
|
reorg: plumb dbconf through to consumers that need it for dialect-specific operations
|
2013-04-07 12:58:24 -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
|
f1ab447a9a
|
dbconf: cleaning, no need to declare several error variables
|
2013-04-07 11:21:04 -07:00 |
Liam Staskawicz
|
84b1aeabec
|
Merged in chris_baynes/goose/fix_postgres_dependency (pull request #13)
Update postgres dependency.
|
2013-04-03 08:47:18 -07:00 |
Chris Baynes
|
de7ced58c6
|
Update postgres dependency.
|
2013-04-03 17:31:40 +02:00 |
Liam Staskawicz
|
b41a586b5f
|
dbconf: simple preliminary test
|
2013-03-30 16:58:28 -07:00 |
Liam Staskawicz
|
634c127941
|
dbconf: accept path and env to allow for testing
|
2013-03-30 16:58:02 -07:00 |
Liam Staskawicz
|
12ca5933e8
|
Merged in danielrheath/goose/backtraces (pull request #11)
Show backtraces when something goes wrong
|
2013-03-30 16:06:13 -07:00 |
Daniel Heath
|
55a3925a44
|
Remove recover-repanic code which obliterates backtraces
|
2013-03-28 12:58:00 +11: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
|
003f86c223
|
Merged in ghthor/goose/postgres-fix (pull request #8: Fix goose_db_version table for postgres.)
|
2013-01-17 08:17:07 -08:00 |
Abigail Walthall
|
527ee49c38
|
Fix goose_db_version table for postgres.
Tested with:
* mysql Ver 15.1 Distrib 5.5.28a-MariaDB
* psql (PostgreSQL) 9.2.2
|
2013-01-17 09:34:37 -05:00 |
Liam Staskawicz
|
430f2bf9d0
|
Breaking change: Merged in ghthor/goose/primary-key-bug (pull request #5: Fixed - timestamp Primary key)
|
2013-01-16 23:22:16 -08:00 |
Liam Staskawicz
|
b959795376
|
Merged in ghthor/goose/test-fix (pull request #7: Fixed the existing test's that verify the sorting order)
|
2013-01-16 23:02:27 -08:00 |
Liam Staskawicz
|
e2d100db55
|
Merged in ghthor/goose/mymysql-driver-support (pull request #6: Load the mymysql database driver)
|
2013-01-16 23:01:49 -08:00 |
Abigail Walthall
|
71801fa6bf
|
Fixed the existing test's that verify the sorting order
|
2013-01-16 20:29:52 -05:00 |
Liam Staskawicz
|
bd0a9ad0fd
|
Merged in ghthor/goose/gitignore (pull request #4: Ignore vim swapfiles)
|
2013-01-16 15:01:01 -08:00 |
Abigail Walthall
|
cadc3067a6
|
Ignore vim swapfiles
|
2013-01-16 17:58:42 -05:00 |
Abigail Walthall
|
c1e1680dc8
|
Load the mymysql database driver
|
2013-01-16 17:29:03 -05:00 |
Abigail Walthall
|
7b2d93c72a
|
Order the results by the guaranteed unique `id` instead of the potentially non-unique `tstamp`
|
2013-01-16 17:25:03 -05:00 |
Abigail Walthall
|
b7fd3077d1
|
Fix Bug when finalizing the migration table when calling `goose up` for the first time
|
2013-01-16 15:38:45 -05:00 |
Liam Staskawicz
|
85fac2eb96
|
Merged in josharian/goose/update-heroku-docs (pull request #3: Update heroku docs)
|
2013-01-15 09:43:34 -08:00 |
Josh Bleecher Snyder
|
039efed9a8
|
Update and simplify heroku instructions
|
2013-01-15 09:12:35 -08:00 |
Liam Staskawicz
|
d42a8fe983
|
util: simplify file creation
|
2013-01-10 23:24:32 -08:00 |