Skip to content

Commit 44cb553

Browse files
authored
Adds update for admin log level (#67)
1 parent 80b6326 commit 44cb553

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

upgrade_logic/business_objects/gateway.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
def gateway_1_15_0() -> bool:
1515
# Note: A previous version had the previous update listed as v1.15.
1616
# That was false, the updates already ran through. This is now for the actual 1.15 release
17+
__gateway_1_15_0_add_default_admin_log_level()
18+
return True
19+
20+
21+
def __gateway_1_15_0_add_default_admin_log_level() -> bool:
22+
query = "UPDATE organization SET log_admin_requests = 'NO_GET' WHERE log_admin_requests IS NULL"
23+
general.execute(query)
24+
general.commit()
1725
return True
1826

1927

0 commit comments

Comments
 (0)