allow system information contains log level and account has enable_debug_log (#351)

* allow system information contains log level and account has enable_debug_log

* update upgrade db script
This commit is contained in:
Hoan Luu Huu
2024-10-07 20:52:11 +07:00
committed by GitHub
parent 4cddbd83a1
commit 57d8d0a02c
5 changed files with 44 additions and 17 deletions
+2
View File
@@ -200,6 +200,8 @@ const sql = {
],
9002: [
'ALTER TABLE system_information ADD COLUMN private_network_cidr VARCHAR(8192)',
'ALTER TABLE system_information ADD COLUMN log_level ENUM(\'info\', \'debug\') NOT NULL DEFAULT \'info\'',
'ALTER TABLE accounts ADD COLUMN enable_debug_log BOOLEAN NOT NULL DEFAULT false',
]
};