Fix jwt-token
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user