dcbot/migrations/20230628110016_group_add_la...

10 lines
281 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE groups ADD COLUMN language_tag varchar(10) NOT NULL DEFAULT 'en'; -- BCP 47 language tag
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE groups DROP COLUMN IF EXISTS language_tag;
-- +goose StatementEnd