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

Run new SQL migrations.

This commit is contained in:
Mateusz 2023-12-26 00:15:47 +01:00 committed by GitHub
parent 8df6c4b1f6
commit 481e094e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,10 @@ if ynh_compare_current_package_version --comparison le --version "1.6.5~ynh1"; t
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.6.1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.6.1.sql"
fi
if ynh_compare_current_package_version --comparison le --version "1.7.3~ynh1"; then
# cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.7.3.sql"
fi
#=================================================
# END OF SCRIPT