From 1b853804727bdc452ebb34d1eba0c76166b0a748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 15 Jan 2024 11:55:56 +0000 Subject: [PATCH] chore: Sync new `team_themes` columns from production --- scripts/seed-database/write/team_themes.sql | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/seed-database/write/team_themes.sql b/scripts/seed-database/write/team_themes.sql index 432886d346..a0c77b6362 100644 --- a/scripts/seed-database/write/team_themes.sql +++ b/scripts/seed-database/write/team_themes.sql @@ -5,7 +5,8 @@ CREATE TEMPORARY TABLE sync_team_themes ( id integer, team_id integer, primary_colour text, - secondary_colour text, + action_colour text, + link_colour text, logo text, favicon text ); @@ -17,7 +18,8 @@ INSERT INTO id, team_id, primary_colour, - -- secondary_colour, + action_colour, + link_colour, logo, favicon ) @@ -25,7 +27,8 @@ SELECT id, team_id, primary_colour, - -- secondary_colour, + action_colour, + link_colour, logo, favicon FROM @@ -34,7 +37,8 @@ UPDATE SET team_id = EXCLUDED.team_id, primary_colour = EXCLUDED.primary_colour, - -- secondary_colour = EXCLUDED.secondary_colour, + action_colour = EXCLUDED.action_colour, + link_colour = EXCLUDED.link_colour, logo = EXCLUDED.logo, favicon = EXCLUDED.favicon; SELECT