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