X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d1ddf1df6b8987cc1be7dc96608e22998c3e9cb6..46b0747592074017ff0ea4b33d4a7194235886e5:/projects/stargazer/inst/var/02-alter-03.postgresql.sql

diff --git a/projects/stargazer/inst/var/02-alter-03.postgresql.sql b/projects/stargazer/inst/var/02-alter-03.postgresql.sql
deleted file mode 100644
index a686aa68..00000000
--- a/projects/stargazer/inst/var/02-alter-03.postgresql.sql
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- *  DB migration from v02 to v03 (postgres)
- */
-BEGIN;
-
-CREATE DOMAIN DM_TARIFF_CHANGE_POLICY AS TEXT NOT NULL
-    CONSTRAINT valid_value CHECK (VALUE IN ('allow', 'to_cheap', 'to_expensive', 'deny'));
-
-ALTER TABLE tb_tariffs ADD change_policy DM_TARIFF_CHANGE_POLICY DEFAULT 'allow';
-
-UPDATE tb_info SET version = 8;
-
-COMMIT;
