You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const auto = new SequelizeAuto(config.database, config.username, config.password, {
host: config.host,
dialect: config.dialect,
directory: path.join(__dirname, '../', 'models'), // prevents the program from writing to disk
tables: ['companies']
})
return auto.run(function (err) {
return !err;
});
The text was updated successfully, but these errors were encountered:
usamaAshrafPhambra
changed the title
clear model file
trying to update but sequelize-auto clear model file not update model file
Jan 13, 2023
const auto = new SequelizeAuto(config.database, config.username, config.password, {
host: config.host,
dialect: config.dialect,
directory: path.join(__dirname, '../', 'models'), // prevents the program from writing to disk
tables: ['companies']
})
return auto.run(function (err) {
return !err;
});
The text was updated successfully, but these errors were encountered: