updated Certificate model to match migration

This commit is contained in:
bill bittner 2017-11-07 15:42:48 -08:00
parent e49942344a
commit 1b61e0fefa

View file

@ -34,7 +34,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D
default: null, default: null,
}, },
amount: { amount: {
type : STRING, type : DOUBLE,
default: null, default: null,
}, },
claimId: { claimId: {
@ -54,7 +54,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D
default: null, default: null,
}, },
effectiveAmount: { effectiveAmount: {
type : STRING, type : DOUBLE,
default: null, default: null,
}, },
hasSignature: { hasSignature: {
@ -62,7 +62,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D
default: null, default: null,
}, },
height: { height: {
type : STRING, type : INTEGER,
default: null, default: null,
}, },
hex: { hex: {
@ -82,7 +82,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D
default: null, default: null,
}, },
validAtHeight: { validAtHeight: {
type : STRING, type : INTEGER,
default: null, default: null,
}, },
outpoint: { outpoint: {