From 9483d067a2d918e5c839f9c4d6713d1024cd44c7 Mon Sep 17 00:00:00 2001 From: AINDUSTRIES Date: Sat, 15 Mar 2025 21:16:04 +0100 Subject: [PATCH] Changed table revoked to add expiry --- migrations/20250312172645_revoked_table.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrations/20250312172645_revoked_table.sql b/migrations/20250312172645_revoked_table.sql index 8209294..d664303 100644 --- a/migrations/20250312172645_revoked_table.sql +++ b/migrations/20250312172645_revoked_table.sql @@ -1,5 +1,6 @@ -- Add migration script here CREATE TABLE IF NOT EXISTS revoked ( 'token_id' INTEGER NOT NULL, - 'user_id' VARCHAR NOT NULL + 'user_id' VARCHAR NOT NULL, + 'expires' INTEGER NOT NULL ) \ No newline at end of file