text: // Add a flag for the text attribute to prevent this field from being null
  
  // Add a validation for the text attribute to make sure it's at least one character,
  // but no more than 140 characters
  
  // Add a flag for complete so that it's false by default if not given a value
  
  module.exports = function(sequelize, DataTypes) {
    var Post = sequelize.define("Post", {
      author: { 
        type: DataTypes.STRING,
        allowNull:false,
        validate: {
          len: [1, 140]
        }
      },
      profilePicture: { 
        type: DataTypes.STRING,
        allowNull:false,
        validate: {
          len: [1, 140]
        }
      },
      body: { 
        type: DataTypes.STRING,
        allowNull:false,
        validate: {
          len: [1, 140]
        }
      }
      // complete: {type: DataTypes.BOOLEAN, defaultValue: false }
    });
    return Post;
  };
  