Sync model in sqlite

This commit is contained in:
Snazzah 2020-08-12 00:58:28 -05:00
parent 0d58e073fd
commit 4f8dea2a57
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -23,7 +23,7 @@ module.exports = class SQLiteDB {
unique: true,
}
}, { sequelize: this.sequelize, modelName: 'user' });
UserPair.sync();
this.model = UserPair;
}