Tie access token directly to session

We need to present them differently in the session list and prevent them
from being deleted
This commit is contained in:
David Heinemeier Hansson
2025-12-01 18:07:17 +01:00
committed by Stanko K.R.
parent b53c0a5385
commit db29562c4c
8 changed files with 20 additions and 17 deletions
+1
View File
@@ -326,6 +326,7 @@ ActiveRecord::Schema[8.2].define(version: 2025_12_05_010536) do
t.text "description", limit: 65535
t.uuid "identity_id", null: false
t.string "permission", limit: 255
t.uuid "session_id", null: false
t.string "token", limit: 255
t.datetime "updated_at", null: false
t.index ["identity_id"], name: "index_access_token_on_identity_id"