1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Update _common.sh

This commit is contained in:
ericgaspar 2022-09-29 11:05:50 +02:00
parent 76262d3aa6
commit 3545e78629

View file

@ -30,6 +30,8 @@ mysql-to-pg() {
#ynh_replace_string --match_string="\"DriverName\":*," --replace_string="\"DriverName\": \"postgres\"," --target_file="$final_path/config/config.json"
#ynh_replace_string --match_string="\"DataSource\":*," --replace_string="\"DataSource\": \"postgres://$db_user:$db_pwd@localhost:5432/$db_name?sslmode=disable&connect_timeout=10\"," --target_file="$final_path/config/config.json"
ynh_psql_execute_as_root --sql "DROP TABLE schema_migrations"
#=================================================
# MODIFY A CONFIG FILE
#=================================================