From 191e1ed54919ab93220a12245bac1188c2012723 Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Mon, 22 Sep 2025 05:47:12 +0200 Subject: [PATCH] Fix jwt-token --- server/migrations/20250820000001-create-initial-tables.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/migrations/20250820000001-create-initial-tables.js b/server/migrations/20250820000001-create-initial-tables.js index 1e9f91c..0043a5a 100644 --- a/server/migrations/20250820000001-create-initial-tables.js +++ b/server/migrations/20250820000001-create-initial-tables.js @@ -479,6 +479,14 @@ module.exports = { defaultValue: Sequelize.UUIDV4, primaryKey: true }, + tenant_id: { + type: Sequelize.UUID, + allowNull: true, + references: { + model: 'tenants', + key: 'id' + } + }, user_id: { type: Sequelize.UUID, allowNull: false,