mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-21 15:56:51 +01:00
* [FIX] Fixed issue when upgrading categories from v2
* [MOD] Improved database queries when upgrading * [MOD] Changed database and table collation to utf8_unicode_ci
This commit is contained in:
@@ -207,7 +207,7 @@ final class MySQL implements DatabaseSetupInterface
|
||||
try {
|
||||
$dbc = $this->mysqlHandler->getConnectionSimple();
|
||||
|
||||
$dbc->exec('CREATE SCHEMA `' . $this->installData->getDbName() . '` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci');
|
||||
$dbc->exec('CREATE SCHEMA `' . $this->installData->getDbName() . '` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci');
|
||||
} catch (PDOException $e) {
|
||||
throw new SPException(
|
||||
sprintf(__('Error al crear la BBDD (\'%s\')'), $e->getMessage()),
|
||||
|
||||
Reference in New Issue
Block a user