Fix jwt-token

This commit is contained in:
2025-09-17 06:36:36 +02:00
parent ab368cf64a
commit faa2a15b5a

View File

@@ -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) {