1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Merge pull request #145 from YunoHost-Apps/1.10.5_sql

1.10.5 sql
This commit is contained in:
Mateusz 2024-03-14 00:11:51 +01:00 committed by GitHub
commit 777745f3e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

2
conf/sql/v1.10.5.sql Normal file
View file

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

View file

@ -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