mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Merge branch '3.8'
Conflicts: lib/Alchemy/Phrasea/Controller/Thesaurus/Thesaurus.php lib/Alchemy/Phrasea/Controller/Thesaurus/Xmlhttp.php lib/classes/connection.php lib/classes/connection/abstract.php lib/classes/connection/interface.php lib/classes/connection/pdo.php lib/classes/connection/pdoStatementDebugger.php lib/classes/module/report/activity.php lib/classes/module/report/sqlfilter.php lib/classes/record/adapter.php lib/classes/task/period/subdef.php templates/web/prod/thesaurus.js.twig tests/Alchemy/Tests/Phrasea/Setup/InstallerTest.php tests/classes/PhraseanetPHPUnitAbstract.php tests/classes/connectionTest.php
This commit is contained in:
@@ -412,7 +412,7 @@ abstract class base implements cache_cacheableInterface
|
||||
{
|
||||
$field_stmt = $defaults_stmt = [];
|
||||
|
||||
$create_stmt = "CREATE TABLE `" . $table['name'] . "` (";
|
||||
$create_stmt = "CREATE TABLE IF NOT EXISTS `" . $table['name'] . "` (";
|
||||
|
||||
foreach ($table->fields->field as $field) {
|
||||
$isnull = trim($field->null) == "" ? "NOT NULL" : "NULL";
|
||||
|
Reference in New Issue
Block a user