zitadel/migrations/cockroach/V1.62__custom_text_feature.sql
Fabi f4fa3ecef3
fix: Custom text split features (#2225)
* fix: separate tier of custom text (message and login)

* fix: add migration

* fix: build problems

* fix: tests

* Update internal/api/grpc/admin/features.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/api/grpc/admin/features.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: rename sql file

* fix: change sql files

* fix: console

* fix: console

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-08-18 10:58:57 +00:00

9 lines
582 B
SQL

ALTER TABLE adminapi.features RENAME COLUMN custom_text TO custom_text_message;
ALTER TABLE auth.features RENAME COLUMN custom_text TO custom_text_message;
ALTER TABLE authz.features RENAME COLUMN custom_text TO custom_text_message;
ALTER TABLE management.features RENAME COLUMN custom_text TO custom_text_message;
ALTER TABLE adminapi.features ADD COLUMN custom_text_login BOOLEAN;
ALTER TABLE auth.features ADD COLUMN custom_text_login BOOLEAN;
ALTER TABLE authz.features ADD COLUMN custom_text_login BOOLEAN;
ALTER TABLE management.features ADD COLUMN custom_text_login BOOLEAN;