1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-22 22:13:20 +02:00
uptime-kuma/db/old_migrations/patch-add-other-auth.sql

19 lines
316 B
MySQL
Raw Normal View History

2022-05-13 16:06:41 +02:00
BEGIN TRANSACTION;
ALTER TABLE monitor
ADD auth_method VARCHAR(250);
2022-05-13 19:58:23 +02:00
ALTER TABLE monitor
ADD auth_domain TEXT;
ALTER TABLE monitor
2022-05-13 16:06:41 +02:00
2022-05-13 19:58:23 +02:00
ADD auth_workstation TEXT;
2022-05-13 16:06:41 +02:00
2022-05-13 19:58:23 +02:00
COMMIT;
2022-05-13 16:06:41 +02:00
2022-05-13 19:58:23 +02:00
BEGIN TRANSACTION;
UPDATE monitor
SET auth_method = 'basic'
WHERE basic_auth_user is not null;
2022-05-13 16:06:41 +02:00
COMMIT;