Fernando Takagi
797198e525
Support no-transaction migrations and wrap statement errors with migration context ( #6 )
2026-07-23 10:19:12 -03:00
Simon Esposito
dd2f50b236
Add integration tests.
2023-02-28 18:49:24 +00:00
Simon Esposito
85ef43aa6f
Use pgx v5 exclusively.
...
Remove support for other db drivers and trim dependencies.
2023-02-09 11:41:09 +00:00
Oleksandr Redko
f4907a9863
Fix typos in variables
2019-10-25 15:45:37 +03:00
Simon Alfassa
bb4d300852
Fix #90 - Increase Scanner buffer size
...
This corrects commit b26f255877
The buffer size increase was in the wrong function
2017-11-15 15:19:10 +01:00
Simon Alfassa
b26f255877
Fix #90 - Increase Scanner buffer size
2017-11-15 14:25:18 +01:00
Yvonnick Esnault
48fb62e01c
feat: allow only comment
...
In previous version of sql-migrate, it was ok to write "-- +migrate Down" with just a comment.
Now, on master, it's not possible anymore.
This commit will allow user to comment a section without having a sql instruction.
The comments are also ignored properly.
Example:
"
-- +migrate Down
-- no migration here
"
2017-05-26 13:57:55 +02:00
Nicholas Law
bd4385b8b9
Link to licenses
2017-03-11 19:44:16 +11:00
Chad Gilbert
91d84b099e
Allow custom line separator
2017-02-06 08:50:13 -05:00
Chad Gilbert
7fd185e97a
Force termination of every sql statement
2017-02-03 16:39:15 -05:00
Russell Haering
9705e6b23e
Update sqlparse tests
2016-09-11 21:40:32 -07:00
Russell Haering
dfaa8f8796
Add parser support for "notransaction" option
2016-09-11 16:22:10 -07:00
Russell Haering
f5d0a0deb7
Refactor sqlparse to support passing options to commands
2016-09-11 16:18:42 -07:00
Ruben Vermeersch
41b82caa61
Update sqlparse copyright notice.
2014-09-15 08:21:47 +02:00
Ruben Vermeersch
b8f3a25e0c
Rename to sql-migrate.
2014-09-14 10:55:33 +02:00
Ruben Vermeersch
82bc790f24
Read migrations from SQL files.
2014-09-09 17:50:59 +02:00