feat: tokenization start, waitlist for background task graceful exit

This commit is contained in:
jonas committed 2026-04-07 14:29:25 +02:00
1 parent 6dd51b7d04
commit 120c12a1f1
6 files changed
+35 -23

No files matched your search

@@ -0,0 +1 @@
DROP TABLE IF EXISTS tokens;
@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS tokens (
hash bytea PRIMARY KEY,
user_id bigint NOT NULL REFERENCES users ON DELETE CASCADE,
expiry timestamp(0) with time zone NOT NULL,
scope text NOT NULL
);