Fix broken login after upgrade (#80)
* Added users(backend) field update * dbVersion bumped to 6
This commit is contained in:
parent
328d645838
commit
091f27e9e5
|
@ -38,7 +38,7 @@ $defaultConfig = [
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'proxys' => [],
|
'proxys' => [],
|
||||||
'dbVersion' => 5
|
'dbVersion' => 6
|
||||||
];
|
];
|
||||||
|
|
||||||
if (file_exists('../config/ConfigOverride.php')) {
|
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