mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user