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');