uptime-kuma/db/patch-add-other-auth.sql
2022-05-13 09:06:41 -05:00

15 lines
202 B
SQL

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;