correction upgrade de la base

This commit is contained in:
Emmanuel Garette 2019-02-21 16:05:52 +01:00
parent a785cedbf6
commit 91d54ac412
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function updateDB()
then
if [ $(CreoleGet one_database_type) = "mysql" ]; then
if [ $(CreoleGet one_ha_server_index 0) = "0" ]; then
$cmd sqlite2mysql -u $USER -p $PASS -d $DB -S $HOST
$cmd upgrade -f -u $USER -p $PASS -d $DB -S $HOST
fi
else
$cmd upgrade -f -s ${dbfile}