Skip to content
This repository was archived by the owner on Jul 25, 2018. It is now read-only.

Use json for occurrences column #110

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/models/contains.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function(sequelize, DataTypes) {
primaryKey: true
},
occurrences: {
type: DataTypes.TEXT
type: DataTypes.JSON
}
}, {
freezeTableName: true, // Model tableName will be the same as the model name
Expand Down