2 * DB migration from v02 to v03 (postgres)
6 CREATE DOMAIN DM_TARIFF_CHANGE_POLICY AS TEXT NOT NULL
7 CONSTRAINT valid_value CHECK (VALUE IN ('allow', 'to_cheap', 'to_expensive', 'deny'));
9 ALTER TABLE tb_tariffs ADD change_policy DM_TARIFF_CHANGE_POLICY DEFAULT 'allow';
11 UPDATE tb_info SET version = 8;