Skip to content

Instantly share code, notes, and snippets.

@natmegs

natmegs/www

Created May 1, 2018
Embed
What would you like to do?
Database synchronization in bin/www
const models = require('../models');
models.sequelize.sync().then(function() {
server.listen(port);
server.on('error', onError);
server.on('listening', onListening);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.