feat: tokenization start, waitlist for background task graceful exit
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user