dcbot/migrations/20230628110016_group_add_language_tag.sql
Dawid Wysokiński 4012bd0a2f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
feat: notifications - i18n (#112)
Reviewed-on: #112
2023-06-30 05:09:52 +00:00

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