fixed analytics mysql model datatype

This commit is contained in:
bill bittner 2017-06-27 22:04:15 -07:00
parent 99308fdccc
commit 434aa996d7

View file

@ -1,4 +1,4 @@
module.exports = (sequelize, { STRING }) => { module.exports = (sequelize, { STRING, TEXT }) => {
const Analytics = sequelize.define( const Analytics = sequelize.define(
'Analytics', 'Analytics',
{ {
@ -16,7 +16,7 @@ module.exports = (sequelize, { STRING }) => {
default : null, default : null,
}, },
result: { result: {
type : STRING, type : TEXT('long'),
allowNull: true, allowNull: true,
default : null, default : null,
}, },