Update install procedure and insertion of zero value into auto_increment id fields for categories (fixes problem with wrong id of OTHER root category) and user_roles, no need to load mysql-data.sql file anymore

This commit is contained in:
DariusIII
2017-06-27 11:13:27 +02:00
parent 77e34f4e12
commit 4cb209041b
5 changed files with 25 additions and 12 deletions
-5
View File
@@ -98,11 +98,6 @@ if (!$error) {
try {
$DbSetup->processSQLFile(); // Setup default schema
$DbSetup->processSQLFile( // Process any custom stuff.
[
'filepath' => NN_RES . 'db' . DS . 'schema' . DS . 'mysql-data.sql'
]
);
$DbSetup->loadTables(); // Load default data files
} catch (\PDOException $err) {
$error = true;