Fix jwt-token

This commit is contained in:
2025-09-22 05:47:12 +02:00
parent af3208b965
commit 191e1ed549

View File

@@ -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,