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: {