Skip to content

Commit

Permalink
merge branch.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Feb 22, 2024
1 parent c5785ae commit f37c734
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions sql/branch.sql

This file was deleted.

5 changes: 5 additions & 0 deletions sql/migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3427,3 +3427,8 @@ 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';

-- migration #172
UPDATE participants
SET avatar_url = 'https://pbs.twimg.com/' || regexp_replace(substr(avatar_url, 24), '%2F', '/', 'g')
WHERE avatar_url LIKE 'https://nitter.net/pic/%';
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', '171'::jsonb);
INSERT INTO db_meta (key, value) VALUES ('schema_version', '172'::jsonb);


-- app configuration
Expand Down

0 comments on commit f37c734

Please sign in to comment.