diff --git a/conf/sql/v1.10.5.sql b/conf/sql/v1.10.5.sql new file mode 100644 index 0000000..135c435 --- /dev/null +++ b/conf/sql/v1.10.5.sql @@ -0,0 +1,2 @@ +INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES +('bluesky', 'social', 'Bluesky', 'https://bsky.app/', 'https://bsky.app/'); diff --git a/scripts/upgrade b/scripts/upgrade index f68d25d..7e18af8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -129,9 +129,13 @@ if ynh_compare_current_package_version --comparison lt --version "1.7.3~ynh1"; t ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.7.3.sql" fi if ynh_compare_current_package_version --comparison lt --version "1.8.2~ynh1"; then - # cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3 + # cf https://code.castopod.org/adaures/castopod/-/releases/v1.8.2 ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.8.0.sql" fi +if ynh_compare_current_package_version --comparison lt --version "1.10.5~ynh1"; then + # cf https://code.castopod.org/adaures/castopod/-/releases/v1.10.5 + ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.10.5.sql" +fi #================================================= # END OF SCRIPT