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

Remove database update

This commit is contained in:
Éric Gaspar 2023-01-19 14:59:58 +01:00
parent 63bf824915
commit fb5fee3a41
2 changed files with 0 additions and 21 deletions

View file

@ -1,11 +0,0 @@
SET AUTOCOMMIT = 0;
START TRANSACTION;
ALTER TABLE `cp_settings`
ADD COLUMN context VARCHAR(255) NULL AFTER `type`;
ALTER TABLE cp_podcasts ADD COLUMN published_at DATETIME DEFAULT NULL AFTER
updated_by;
UPDATE cp_podcasts SET published_at = created_at;
COMMIT;

View file

@ -116,16 +116,6 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# MYSQL CONFIGURATION
#=================================================
if ynh_compare_current_package_version --comparison eq --version 1.0.0-96~ynh1
then
ynh_script_progression --message="Upgrading MySQL configuration..." --weight=1
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ./from_beta_16.sql
fi
#=================================================
# UPGRADE DEPENDENCIES
#=================================================