quick adding (not working)

This commit is contained in:
2026-01-12 20:41:04 +01:00
parent 743bed67f3
commit d371fb77cf
6 changed files with 1710 additions and 1 deletions

View File

@@ -245,7 +245,9 @@ CREATE TABLE IF NOT EXISTS mood_history (
trigger_type VARCHAR(50) NOT NULL, -- conversation, time_decay, event
trigger_user_id BIGINT REFERENCES users(id) ON DELETE SET NULL,
trigger_description TEXT,
recorded_at TIMESTAMPTZ DEFAULT NOW()
recorded_at TIMESTAMPTZ DEFAULT NOW(),
created_at TIMESTAMPTZ DEFAULT NOW(),
updated_at TIMESTAMPTZ DEFAULT NOW()
);
CREATE INDEX IF NOT EXISTS ix_mood_history_guild_id ON mood_history(guild_id);