Add author id hash to database

This commit is contained in:
Tarrgon
2026-07-06 21:47:47 -04:00
parent 01abfc9a59
commit 57bb342303
4 changed files with 68 additions and 2 deletions
@@ -0,0 +1,10 @@
--------------------------------------------------------------------------------
-- Up
--------------------------------------------------------------------------------
ALTER TABLE messages ADD author_id_hash TEXT NOT NULL DEFAULT '';
CREATE INDEX IF NOT EXISTS index_author_id_hash ON messages (author_id_hash);
--------------------------------------------------------------------------------
-- Down
--------------------------------------------------------------------------------
ALTER TABLE messages DROP COLUMN author_id_hash;