Add db migrations for new basic auth fields

This commit is contained in:
Ivan Bratović 2021-11-02 11:51:45 +01:00
parent c5e6628803
commit 665c263c03
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
BEGIN TRANSACTION;
ALTER TABLE monitor
ADD basicauth_user TEXT default null;
ALTER TABLE monitor
ADD basicauth_pass TEXT default null;
COMMIT;

View File

@ -52,6 +52,7 @@ class Database {
"patch-http-monitor-method-body-and-headers.sql": true,
"patch-2fa-invalidate-used-token.sql": true,
"patch-notification_sent_history.sql": true,
"patch-monitor-basicauth.sql": true,
}
/**