update to support postgresql and add godocs
This commit is contained in:
11
db/migrations_postgres/20240912231739_extend_updates.sql
Normal file
11
db/migrations_postgres/20240912231739_extend_updates.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE "Updates" ADD COLUMN "EventKey" TEXT;
|
||||
ALTER TABLE "Updates" ADD COLUMN "EventId" TEXT;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE "Updates" DROP COLUMN "EventKey";
|
||||
ALTER TABLE "Updates" DROP COLUMN "EventId";
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user