Fix jwt-token

This commit is contained in:
2025-09-20 23:34:24 +02:00
parent a93b7c07de
commit 9641651bcc

View File

@@ -1,10 +1,5 @@
const { Sequelize } = re // Models are already initialized through the imports
console.log('📋 Models loaded and ready...');
// For fresh database, just sync to create tables first
console.log('🏗️ Creating database tables...');
await sequelize.sync({ force: true }); // WARNING: This will drop existing tables
console.log('✅ Database tables created successfully.\n');sequelize');
console.log('📋 Models loaded and ready...');ire('sequelize');
const bcrypt = require('bcryptjs');
// Import models from the main models index