Fix jwt-token
This commit is contained in:
@@ -16,6 +16,15 @@ module.exports = (sequelize) => {
|
||||
},
|
||||
comment: 'ID of the detecting device'
|
||||
},
|
||||
tenant_id: {
|
||||
type: DataTypes.UUID,
|
||||
allowNull: true,
|
||||
references: {
|
||||
model: 'tenants',
|
||||
key: 'id'
|
||||
},
|
||||
comment: 'Tenant ID for multi-tenant isolation'
|
||||
},
|
||||
drone_id: {
|
||||
type: DataTypes.BIGINT,
|
||||
allowNull: false,
|
||||
|
||||
Reference in New Issue
Block a user