0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 02:37:28 +01:00
uptime-kuma/db/patch-add-other-auth.sql

16 lines
202 B
MySQL
Raw Normal View History

2022-05-13 16:06:41 +02:00
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;