Skip to content

Commit

Permalink
Merge pull request #40 from BadIdeaFactory/27-scraper-example-seed
Browse files Browse the repository at this point in the history
Add five sample credible_content seed items
  • Loading branch information
slifty authored Sep 30, 2018
2 parents ee1595f + f043961 commit a8e072e
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
type: Sequelize.STRING,
},
body: {
type: Sequelize.STRING,
type: Sequelize.TEXT,
},
createdAt: {
allowNull: false,
Expand Down
2 changes: 1 addition & 1 deletion src/server/models/crediblecontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = (sequelize, DataTypes) => {
title: DataTypes.STRING,
author: DataTypes.STRING,
publication: DataTypes.STRING,
body: DataTypes.STRING,
body: DataTypes.TEXT,
}, {})
CredibleContent.associate = function () {
// associations can be defined here
Expand Down
Loading

0 comments on commit a8e072e

Please sign in to comment.