mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-29 21:28:21 +03:00
18 lines
316 B
SQL
18 lines
316 B
SQL
BEGIN TRANSACTION;
|
|
|
|
ALTER TABLE monitor
|
|
ADD auth_method VARCHAR(250);
|
|
|
|
ALTER TABLE monitor
|
|
ADD auth_domain TEXT;
|
|
ALTER TABLE monitor
|
|
|
|
ADD auth_workstation TEXT;
|
|
|
|
COMMIT;
|
|
|
|
BEGIN TRANSACTION;
|
|
UPDATE monitor
|
|
SET auth_method = 'basic'
|
|
WHERE basic_auth_user is not null;
|
|
COMMIT;
|