Skip to content

Commit

Permalink
Amend result data type from #199 (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertopq authored and ferjm committed Jan 16, 2017
1 parent a7cf6f5 commit c9ad9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/observation.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = (sequelize, DataTypes) => {
this.setDataValue('phenomenonTime', new Date(value).toISOString());
}
},
result: { type: DataTypes.JSONB, allowNull: false },
result: { type: DataTypes.STRING, allowNull: false },
resultTime: {
// Note: Many resource-constrained sensing devices do not have a clock.
// As a result, a client may omit resultTime when POST new Observations,
Expand Down

0 comments on commit c9ad9de

Please sign in to comment.