From 84ed2f52dbda41476baacdeb827b7b45f5416302 Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Mon, 22 Sep 2025 05:32:39 +0200 Subject: [PATCH] Fix jwt-token --- server/migrations/20250913000002-add-device-tenant-support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/migrations/20250913000002-add-device-tenant-support.js b/server/migrations/20250913000002-add-device-tenant-support.js index bb9fbe8..57b5e8a 100644 --- a/server/migrations/20250913000002-add-device-tenant-support.js +++ b/server/migrations/20250913000002-add-device-tenant-support.js @@ -21,7 +21,7 @@ module.exports = { if (!tableDescription.tenant_id) { // Add tenant_id column to devices table await queryInterface.addColumn('devices', 'tenant_id', { - type: Sequelize.INTEGER, + type: Sequelize.UUID, allowNull: true, // Nullable for backward compatibility references: { model: 'tenants',