Here, sequelize, would be the sequelize object, whereas db is the database connection object? If so, do you mean db.sync() etc etc?

The sequelize example right now uses a global variable to create a singleton which is...ok, but not great. I'll move sync into a different place because it should be abstracted anyway, but will leave global variable singleton as is for now.