From 6fac6a0276e118b617870ea64db8632b55714ca8 Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 15 Aug 2023 11:42:50 +0200 Subject: [PATCH] don't run the migration https://github.com/YunoHost-Apps/bonfire_ynh/pull/2#issuecomment-1678664426 --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index d1f36dc..daf33de 100644 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,10 @@ ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "WITH_DOCKER=no #================================================= release_folder="_build/prod/rel/bonfire" -ynh_script_progression --message="Running database migrations..." --weight=1 -# Database created before, let's run the migrations -ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no just cmd $release_folder/bin/bonfire eval 'EctoSparkles.Migrator.migrate()'" +### Not running the migration, they are done on startup anyway +#ynh_script_progression --message="Running database migrations..." --weight=1 +## Database created before, let's run the migrations +#ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no just cmd $release_folder/bin/bonfire eval 'EctoSparkles.Migrator.migrate()'" ynh_script_progression --message="Starting Bonfire..." --weight=1 ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no just cmd $release_folder/bin/bonfire start"