summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-29 20:33:40 +0800
committeraltaf-creator <dev@altafcreator.com>2025-12-29 20:33:40 +0800
commit034b151088886f8b6d306f37f8a770a23844f1ac (patch)
tree759bbc84f87c412c0daed521a4d018e46944bb15 /backend
parent09cd79199b609ccb389115dc0d7aee050464eb62 (diff)
expiration time may be null
Diffstat (limited to 'backend')
-rw-r--r--backend/notif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/notif.py b/backend/notif.py
index 59bb3c3..00a1b63 100644
--- a/backend/notif.py
+++ b/backend/notif.py
@@ -19,7 +19,7 @@ f.close()
cursor.execute("""
CREATE TABLE IF NOT EXISTS subscriptions (
endpoint TEXT PRIMARY KEY,
- expiration_time REAL NOT NULL,
+ expiration_time REAL,
keys_p256dh TEXT NOT NULL,
keys_auth TEXT NOT NULL
);""")