Switch to postgres for the analysis task queue and some other minor improvements
This commit is contained in:
2
migrations/2024-09-16-221954_analysis-queue/down.sql
Normal file
2
migrations/2024-09-16-221954_analysis-queue/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE ANALYSIS_QUEUE;
|
||||
6
migrations/2024-09-16-221954_analysis-queue/up.sql
Normal file
6
migrations/2024-09-16-221954_analysis-queue/up.sql
Normal 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
|
||||
);
|
||||
Reference in New Issue
Block a user