From 0d3a89caeb2d19e2c4165d4b6dad64747274345a Mon Sep 17 00:00:00 2001 From: MCorange Date: Mon, 15 Sep 2025 21:39:20 +0300 Subject: [PATCH] Added id to sessions for consistency --- migrations/20250914121222_main.up.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/20250914121222_main.up.sql b/migrations/20250914121222_main.up.sql index c80cff2..ab4644b 100644 --- a/migrations/20250914121222_main.up.sql +++ b/migrations/20250914121222_main.up.sql @@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS users ( ); CREATE TABLE IF NOT EXISTS sessions ( + id BIGSERIAL NOT NULL PRIMARY KEY, user_id BIGINT NOT NULL, session_key TEXT NOT NULL UNIQUE, expires BIGINT NOT NULL,