From e8774cb8bdc6c81baa0bb6fde1c9751fd74c880d Mon Sep 17 00:00:00 2001
From: chris <chris@nyanide.com>
Date: Sat, 24 May 2025 21:15:16 -0500
Subject: [PATCH] initialize last_seen_notif_id in db.py

---
 db.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/db.py b/db.py
index 63d0b43..ffcfe2e 100644
--- a/db.py
+++ b/db.py
@@ -41,6 +41,9 @@ cursor.execute("""
         )
     """)
 
+# Initialize essential config key
+cursor.execute('INSERT INTO config VALUES ("last_seen_notif_id", 0)')
+
 """ # Insert example characters into the database if they don't already exist
 characters = [
     ('Murakami-san', 1, 0.35),