Implement per board post number incrementing

This commit is contained in:
Dominic Ferrando
2025-04-21 12:33:19 -04:00
parent 4e4b5614e0
commit 151b740ee9
6 changed files with 44 additions and 25 deletions
+1
View File
@@ -23,6 +23,7 @@ CREATE TABLE IF NOT EXISTS threads (
CREATE TABLE IF NOT EXISTS posts (
id INTEGER PRIMARY KEY AUTOINCREMENT,
thread_id INTEGER NOT NULL,
number INTEGER NOT NULL,
author TEXT DEFAULT 'Anonymous',
body TEXT NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,