diff --git a/sql/branch.sql b/sql/branch.sql deleted file mode 100644 index ce60dbb7d..000000000 --- a/sql/branch.sql +++ /dev/null @@ -1,2 +0,0 @@ -UPDATE app_conf SET value = '"https://api.openstreetmap.org/api/0.6"'::jsonb WHERE key = 'openstreetmap_api_url'; -UPDATE app_conf SET value = '"https://www.openstreetmap.org"'::jsonb WHERE key = 'openstreetmap_auth_url'; diff --git a/sql/migrations.sql b/sql/migrations.sql index b78b5274a..74e74d010 100644 --- a/sql/migrations.sql +++ b/sql/migrations.sql @@ -3423,3 +3423,7 @@ DELETE FROM rate_limiting WHERE key LIKE 'refetch_%'; -- migration #170 CREATE TYPE localized_string AS (string text, lang text); + +-- migration #171 +UPDATE app_conf SET value = '"https://api.openstreetmap.org/api/0.6"'::jsonb WHERE key = 'openstreetmap_api_url'; +UPDATE app_conf SET value = '"https://www.openstreetmap.org"'::jsonb WHERE key = 'openstreetmap_auth_url'; diff --git a/sql/schema.sql b/sql/schema.sql index 513325e11..f26d2257a 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', '170'::jsonb); +INSERT INTO db_meta (key, value) VALUES ('schema_version', '171'::jsonb); -- app configuration