This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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: { |