From a4fdd35219b24a84b6c4c63bd7cbf4a7763ef3a3 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:57:27 +0100 Subject: [PATCH] Update v1.5.2.sql --- conf/sql/v1.5.2.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/sql/v1.5.2.sql b/conf/sql/v1.5.2.sql index 6a2803a..024cab9 100644 --- a/conf/sql/v1.5.2.sql +++ b/conf/sql/v1.5.2.sql @@ -1,5 +1,5 @@ -- change Twitter to X -INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES +INSERT IGNORE INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES ('x', 'social', 'X', 'https://x.com/', 'https://x.com/i/flow/signup'); UPDATE `cp_podcasts_platforms` @@ -9,6 +9,6 @@ WHERE `platform_slug` = 'twitter'; DELETE FROM `cp_platforms` WHERE `slug` = 'twitter'; -- add buymeacoffee and kofi as funding platforms -INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES +INSERT IGNORE INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES ('buymeacoffee', 'funding', 'Buy Me a Coffee', 'https://www.buymeacoffee.com/', 'https://www.buymeacoffee.com/signup'), ('kofi', 'funding', 'Ko-fi', 'https://ko-fi.com/', 'https://ko-fi.com/account/register');