var Sequelize = require ('sequelize'); var sequelize = new Sequelize('blogapp', 'postgres', 'root', { host: 'localhost', port: 5433,dialect: 'postgres' }); //定義 //データ型参考 //http://sequelizejs.com/docs/latest/models#data-types var User = sequelize.define('User', { name: Sequelize.STRING, email: Sequelize.STRING }); //create table //User.sync(); //insert /* User.create({ name: 'hoge', email: 'hoge@ho