summaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-20 21:07:36 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-20 21:07:36 -1000
commita38ce269cc9283556621b5447eb3a0caf697eae9 (patch)
tree28727aada058e8ec4c01d170f79bf7aaa2ab1201 /migrations
parent093ad56d8cb7274627a43004c95f4a5dd6b94fb7 (diff)
Add in-app bug reporting feature
- New bugs table in SQLite (migration 005) - Store methods for saving and retrieving bugs - Handlers for GET/POST /bugs - Floating bug button with modal UI - Shows recent bug reports in modal Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'migrations')
-rw-r--r--migrations/005_add_bugs.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/005_add_bugs.sql b/migrations/005_add_bugs.sql
new file mode 100644
index 0000000..999b1f2
--- /dev/null
+++ b/migrations/005_add_bugs.sql
@@ -0,0 +1,6 @@
+-- Bug tracking table
+CREATE TABLE IF NOT EXISTS bugs (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ description TEXT NOT NULL,
+ created_at DATETIME DEFAULT CURRENT_TIMESTAMP
+);