Skip to content

Commit 8fd4200

Browse files
committed
Remove failing DB migration query
1 parent e1f4b35 commit 8fd4200

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dbutils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,3 @@ def migration_step_2():
151151
c.execute(f'CREATE INDEX netflow_flows_record on netflow_flows (record);')
152152

153153
c.execute(f'CREATE TABLE {DB_PREFIX}bot_jobs (job_id TEXT NOT NULL PRIMARY KEY, last_used_seq BIGSERIAL);')
154-
155-
# slow db queries should be logged to help avoid performance problems:
156-
database_name = os.environ.get('DB_DATABASE', 'grafolean')
157-
c.execute(f'ALTER DATABASE %s SET log_min_duration_statement = 100;', (database_name,))

0 commit comments

Comments
 (0)