mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 08:48:45 +02:00
started db update script
This commit is contained in:
parent
b7dc8e3ef8
commit
23ce7c6623
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 New Issue
Block a user