mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-30 11:54:31 -04:00
Move all old db patch files to db/old_migrations/
This commit is contained in:
parent
e26abc3156
commit
ccc39b9516
47 changed files with 7 additions and 3 deletions
18
db/old_migrations/patch-add-other-auth.sql
Normal file
18
db/old_migrations/patch-add-other-auth.sql
Normal file
|
@ -0,0 +1,18 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue