Skip to content

Commit

Permalink
merge branch.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Oct 25, 2023
1 parent f6208c6 commit f312a4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions sql/branch.sql

This file was deleted.

4 changes: 4 additions & 0 deletions sql/migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 1 addition & 1 deletion sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f312a4c

Please sign in to comment.