Files
stufflog2/migrations/postgres/20210405234346_add_project_column_subtract_amount.sql
T
gisle c5af5860bf
continuous-integration/drone/push Build is passing
add project subtraction amounts.
2021-04-05 23:59:27 +02:00

12 lines
263 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE project
ADD COLUMN subtract_amount INT NOT NULL DEFAULT 0;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE project
DROP COLUMN IF EXISTS subtract_amount;
-- +goose StatementEnd