Closed rajesh8614 closed 4 years ago
Hi
const Client = sequelize.define('Clent', {
Clents
const Client = sequelize.define('Clent', { id: mkId(), server: {type: Sequelize.INTEGER}, name: {type: Sequelize.STRING}, sent: {type: Sequelize.INTEGER, defaultValue: 0}, received: {type: Sequelize.INTEGER, defaultValue: 0} }) module.exports = { init: () => Promise.all([Log.sync(), Client.sync()]), Log, Client, op: Sequelize.Op }
The database has not been touched in ages so I doubt there is a bug there, it's more likely that the data does not reach the database.
Hi
const Client = sequelize.define('Clent', {
Clents
It adds "s" character at the end