chore: alter table monitor add column tls_ca, tls_cert, tls_key for certificate data

This commit is contained in:
Suriya Soutmun 2023-01-04 14:37:03 +07:00
parent ab3b2bddba
commit faa78443d6
No known key found for this signature in database
GPG Key ID: 681DFD4FD0F63C78
2 changed files with 14 additions and 0 deletions

13
db/patch-monitor-tls.sql Normal file
View File

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

View File

@ -70,6 +70,7 @@ class Database {
"patch-maintenance-table2.sql": true,
"patch-add-gamedig-monitor.sql": true,
"patch-add-google-analytics-status-page-tag.sql": true,
"patch-monitor-tls.sql": true,
};
/**