mirror of
https://github.com/pressly/goose.git
synced 2025-05-31 11:42:04 +00:00
9 lines
262 B
SQL
9 lines
262 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
create table t ( id int );
|
|
update rows set value = now() -- missing semicolon. valid statement because wrapped in goose annotation, but will fail when executed.
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
DROP TABLE IF EXISTS t;
|