zitadel/migrations/cockroach/V1.109__features_max_actions.sql
Livio Amstutz 1367a2e139
feat: limit amount of active actions (#3143)
* max actions

* fix: max allowed actions

* fix: max allowed actions

* fix tests
2022-02-02 09:04:05 +01:00

6 lines
216 B
SQL

alter table zitadel.projections.features
ADD COLUMN actions_allowed INT2 default 0,
ADD COLUMN max_actions INT8 default 0;
update zitadel.projections.features set actions_allowed = 2 where actions = true;