correction upgrade de la base

This commit is contained in:
Emmanuel Garette 2019-02-21 16:05:52 +01:00
parent a785cedbf6
commit 91d54ac412

View File

@ -35,7 +35,7 @@ function updateDB()
then then
if [ $(CreoleGet one_database_type) = "mysql" ]; then if [ $(CreoleGet one_database_type) = "mysql" ]; then
if [ $(CreoleGet one_ha_server_index 0) = "0" ]; 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 fi
else else
$cmd upgrade -f -s ${dbfile} $cmd upgrade -f -s ${dbfile}