Commit 6671b57a authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

new fix

parent 23769e4b
......@@ -39,10 +39,7 @@ ds.automigrate(lbTables, function(err) {
loadRelationsFromOldDB(old_db.get_cursoDisciplina, app.models.Curso, "disciplinas", LOG_CREATE),
],
function(err) {
if (err) {
console.log(err)
throw err;
}
if (err) throw err;
ds.disconnect();
})
});
......
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