Index: src/config/database.js
===================================================================
--- src/config/database.js	(revision c9c6a2d6cf1cf1611a79c699dd70c435bda3c203)
+++ src/config/database.js	(revision e25438af595141e82c2c8d6dfaf5d506db96759c)
@@ -254,6 +254,8 @@
   // Meldingen: iemand reageert op je reactie / post, of liket je post. Snapshots
   // van naam/titel zodat de lijst goedkoop te tonen is zonder joins.
-  db.exec(`
-    CREATE TABLE IF NOT EXISTS notifications (
+  // NB: bewust 'user_notifications' — sommige oudere DBs hebben nog een stale,
+  // ongebruikte 'notifications'-tabel met een ander schema (geen read-kolom).
+  db.exec(`
+    CREATE TABLE IF NOT EXISTS user_notifications (
       id TEXT PRIMARY KEY,
       user_id TEXT NOT NULL,
@@ -267,5 +269,5 @@
       created_at DATETIME DEFAULT CURRENT_TIMESTAMP
     );
-    CREATE INDEX IF NOT EXISTS idx_notif_user ON notifications(user_id, read, created_at);
+    CREATE INDEX IF NOT EXISTS idx_unotif_user ON user_notifications(user_id, read, created_at);
   `);
 
