1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-12 12:41:19 +00:00

add e2e tests

This commit is contained in:
Elias Schneider
2026-01-11 00:14:25 +01:00
parent dd8e4dec6c
commit d318b02ea0
6 changed files with 80 additions and 10 deletions

View File

@@ -4,11 +4,7 @@ CREATE TABLE email_verification_tokens
created_at TIMESTAMPTZ NOT NULL,
token TEXT NOT NULL UNIQUE,
expires_at TIMESTAMPTZ NOT NULL,
user_id TEXT NOT NULL,
CONSTRAINT email_verification_tokens_user_id_fkey
FOREIGN KEY (user_id)
REFERENCES users (id)
ON DELETE CASCADE
user_id UUID NOT NULL REFERENCES users ON DELETE CASCADE
);
ALTER TABLE users