From 6cf6eb2d197fd0973aad36357bf8014305d31cef Mon Sep 17 00:00:00 2001 From: Changaco Date: Tue, 8 Oct 2024 09:44:50 +0200 Subject: [PATCH] merge branch.sql --- sql/branch.sql | 1 - sql/migrations.sql | 3 +++ sql/schema.sql | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 sql/branch.sql 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