Fix init contest db

parent 752334f4
......@@ -21,7 +21,7 @@ module.exports = function (uri) {
return dbUtils.connect(uri)
.then(connection => {
let models = ['AccessToken','RefreshToken','User','Code','Client','Course'];
let models = ['AccessToken','RefreshToken','User','Code','Client','Course', 'Contest'];
for (let i = 0; i < models.length; i++) {
let schema = require('./models/' + models[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment