Fix jwt-token

This commit is contained in:
2025-09-15 15:20:58 +02:00
parent 6ffe1156ca
commit 995ef9d7c7
2 changed files with 11 additions and 0 deletions

View File

@@ -15,6 +15,14 @@ module.exports = (sequelize) => {
key: 'id'
}
},
tenant_id: {
type: DataTypes.UUID,
allowNull: true, // Allow null for testing
references: {
model: 'tenants',
key: 'id'
}
},
name: {
type: DataTypes.STRING,
allowNull: false,