adapter-sqlite: all repo implementations + wire fn + migrations copy
This commit is contained in:
9
migrations_sqlite/20260317000000_add_activity_log.sql
Normal file
9
migrations_sqlite/20260317000000_add_activity_log.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS activity_log (
|
||||
id TEXT PRIMARY KEY NOT NULL,
|
||||
timestamp TEXT NOT NULL,
|
||||
event_type TEXT NOT NULL,
|
||||
detail TEXT NOT NULL,
|
||||
channel_id TEXT
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_activity_log_timestamp ON activity_log(timestamp DESC);
|
||||
Reference in New Issue
Block a user