Skip to content

Commit

Permalink
merge branch.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Mar 4, 2024
1 parent 8fe905e commit 01e59b5
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 @@ -3432,3 +3432,7 @@ UPDATE app_conf SET value = '"https://www.openstreetmap.org"'::jsonb WHERE key =
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/%';

-- migration #173
DELETE FROM elsewhere WHERE platform in ('facebook', 'google');
DELETE FROM app_conf WHERE key LIKE 'facebook_%';
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', '172'::jsonb);
INSERT INTO db_meta (key, value) VALUES ('schema_version', '173'::jsonb);


-- app configuration
Expand Down

0 comments on commit 01e59b5

Please sign in to comment.