mirror of
https://github.com/YunoHost-Apps/bonfire_ynh.git
synced 2024-09-03 18:16:01 +02:00
don't run the migration
https://github.com/YunoHost-Apps/bonfire_ynh/pull/2#issuecomment-1678664426
This commit is contained in:
parent
68ea51a8e5
commit
6fac6a0276
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue