mirror of
https://github.com/loewexy/pdnsmanager.git
synced 2025-01-15 18:52:20 +01:00
Fix broken login after upgrade (#80)
* Added users(backend) field update * dbVersion bumped to 6
This commit is contained in:
parent
328d645838
commit
091f27e9e5
2 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,7 @@ $defaultConfig = [
|
|||
]
|
||||
],
|
||||
'proxys' => [],
|
||||
'dbVersion' => 5
|
||||
'dbVersion' => 6
|
||||
];
|
||||
|
||||
if (file_exists('../config/ConfigOverride.php')) {
|
||||
|
|
3
backend/src/sql/Update6.sql
Normal file
3
backend/src/sql/Update6.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
UPDATE users SET backend='native' WHERE backend='';
|
||||
|
||||
UPDATE options SET value=6 WHERE name='schema_version';
|
Loading…
Reference in a new issue