From 1b61e0fefa38d3630d1ce9c2a1cc08f860d82fe7 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 7 Nov 2017 15:42:48 -0800 Subject: [PATCH] updated Certificate model to match migration --- models/certificate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/certificate.js b/models/certificate.js index b68d6df5..7fd1ca3a 100644 --- a/models/certificate.js +++ b/models/certificate.js @@ -34,7 +34,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D default: null, }, amount: { - type : STRING, + type : DOUBLE, default: null, }, claimId: { @@ -54,7 +54,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D default: null, }, effectiveAmount: { - type : STRING, + type : DOUBLE, default: null, }, hasSignature: { @@ -62,7 +62,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D default: null, }, height: { - type : STRING, + type : INTEGER, default: null, }, hex: { @@ -82,7 +82,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D default: null, }, validAtHeight: { - type : STRING, + type : INTEGER, default: null, }, outpoint: {