mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
started db update script
This commit is contained in:
parent
b7dc8e3ef8
commit
23ce7c6623
1 changed files with 15 additions and 0 deletions
15
db/patch-add-other-auth.sql
Normal file
15
db/patch-add-other-auth.sql
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
BEGIN TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE monitor
|
||||||
|
ADD auth_method VARCHAR(250);
|
||||||
|
|
||||||
|
COMMIT
|
||||||
|
|
||||||
|
|
||||||
|
BEGIN TRANSACTION;
|
||||||
|
|
||||||
|
UPDATE monitor
|
||||||
|
SET auth_method = 'basic'
|
||||||
|
WHERE basic_auth_user is not null
|
||||||
|
|
||||||
|
COMMIT;
|
Loading…
Reference in a new issue