Fix jwt-token
This commit is contained in:
@@ -70,6 +70,10 @@ module.exports = {
|
|||||||
} else {
|
} else {
|
||||||
console.log('⚠️ Column tenant_id already exists in devices table, skipping...');
|
console.log('⚠️ Column tenant_id already exists in devices table, skipping...');
|
||||||
}
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.log('⚠️ Migration skipped - tables may not exist yet:', error.message);
|
||||||
|
// Don't throw error, just skip this migration if tables don't exist
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async down(queryInterface, Sequelize) {
|
async down(queryInterface, Sequelize) {
|
||||||
|
|||||||
Reference in New Issue
Block a user