diff --git a/sql/branch.sql b/sql/branch.sql deleted file mode 100644 index 8994f50d7..000000000 --- a/sql/branch.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE exchange_routes SET is_default_for = 'EUR', is_default = null WHERE network = 'stripe-sdd' AND is_default; diff --git a/sql/migrations.sql b/sql/migrations.sql index 177fd7530..acb515e89 100644 --- a/sql/migrations.sql +++ b/sql/migrations.sql @@ -3488,3 +3488,6 @@ CREATE INDEX public_name_trgm_idx ON participants USING GIN (lower(public_name) gin_trgm_ops) WHERE status = 'active' AND public_name IS NOT null; + +-- migration #178 +UPDATE exchange_routes SET is_default_for = 'EUR', is_default = null WHERE network = 'stripe-sdd' AND is_default; diff --git a/sql/schema.sql b/sql/schema.sql index c85792d19..f4533812d 100644 --- a/sql/schema.sql +++ b/sql/schema.sql @@ -14,7 +14,7 @@ COMMENT ON EXTENSION pg_stat_statements IS 'track execution statistics of all SQ -- database metadata CREATE TABLE db_meta (key text PRIMARY KEY, value jsonb); -INSERT INTO db_meta (key, value) VALUES ('schema_version', '177'::jsonb); +INSERT INTO db_meta (key, value) VALUES ('schema_version', '178'::jsonb); -- app configuration