You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
428 B
15 lines
428 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
ALTER TABLE log
|
|
ADD COLUMN item_amount INT NOT NULL DEFAULT 1,
|
|
ADD COLUMN secondary_item_id CHAR(16) DEFAULT NULL,
|
|
ADD COLUMN secondary_item_amount INT NOT NULL DEFAULT 0;
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
ALTER TABLE log
|
|
DROP COLUMN item_amount,
|
|
DROP COLUMN secondary_item_id,
|
|
DROP COLUMN secondary_item_amount;
|
|
-- +goose StatementEnd
|