Skip to content

Instantly share code, notes, and snippets.

View emilyhorsman's full-sized avatar

Emily Horsman emilyhorsman

View GitHub Profile
/**
* This is the example that works. Defining a simple Theme model with a name and author, that's it.
*/
// Set up Sequelize with DB connection
var Sequelize = require('sequelize');
var sequelize = new Sequelize('sidebar_development', 'sidebar', '', {
host: 'localhost',
dialect: 'postgres',
pool: {