Fix jwt-token
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = {
|
|||||||
if (!tableDescription.tenant_id) {
|
if (!tableDescription.tenant_id) {
|
||||||
// Add tenant_id column to devices table
|
// Add tenant_id column to devices table
|
||||||
await queryInterface.addColumn('devices', 'tenant_id', {
|
await queryInterface.addColumn('devices', 'tenant_id', {
|
||||||
type: Sequelize.INTEGER,
|
type: Sequelize.UUID,
|
||||||
allowNull: true, // Nullable for backward compatibility
|
allowNull: true, // Nullable for backward compatibility
|
||||||
references: {
|
references: {
|
||||||
model: 'tenants',
|
model: 'tenants',
|
||||||
|
|||||||
Reference in New Issue
Block a user