Switch to postgres for the analysis task queue and some other minor improvements

This commit is contained in:
Lol3rrr
2024-09-17 16:35:55 +02:00
parent fd4d3f735d
commit 8290fcf390
9 changed files with 115 additions and 37 deletions

View File

@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE ANALYSIS_QUEUE;

View File

@@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS ANALYSIS_QUEUE (
demo_id bigint PRIMARY KEY REFERENCES demos(demo_id),
steam_id Text NOT NULL,
created_at timestamp NOT NULL default current_timestamp
);