Db datatypes migration #263

Merged
bones7242 merged 13 commits from db-datatypes-migration into master 2017-11-20 18:35:13 +01:00
Showing only changes of commit 1b61e0fefa - Show all commits

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