Refactored into service directory

This commit is contained in:
Benjamin Sherriff
2023-10-04 16:52:09 -04:00
parent be4ab2bc69
commit 06f8af6051
63 changed files with 11 additions and 577 deletions

View File

@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS messages (
id TEXT PRIMARY KEY NOT NULL,
guild_id BIGINT NOT NULL,
channel_id BIGINT NOT NULL,
user_id BIGINT NOT NULL,
created BIGINT NOT NULL,
model TEXT NOT NULL,
request TEXT NOT NULL,
response TEXT NOT NULL,
request_tags TEXT[] NOT NULL,
response_tags TEXT[] NOT NULL
);