mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-08 09:06:58 +08:00
started db update script
This commit is contained in:
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;
|
Reference in New Issue
Block a user