fixed analytics mysql model datatype
This commit is contained in:
parent
99308fdccc
commit
434aa996d7
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue