Skip to content

Instantly share code, notes, and snippets.

View keithmichelson's full-sized avatar

Keith Michelson keithmichelson

  • Utah
View GitHub Profile
//Following Model
var _ = require('underscore');
module.exports = function(sequelize, DataTypes) {
return sequelize.define('following', {
following: {
type: DataTypes.INTEGER,
allowNull: false,
validate: {
isBoolean: function (value) {