diff options
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/proposals.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/db/models/proposals.js b/db/models/proposals.js index 6d7ee40e..842101ac 100644 --- a/db/models/proposals.js +++ b/db/models/proposals.js @@ -56,7 +56,7 @@ const attributes = { field: "a2" }, v1: { - type: DataTypes.INTEGER, + type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, primaryKey: false, @@ -65,7 +65,7 @@ const attributes = { field: "v1" }, v2: { - type: DataTypes.INTEGER, + type: DataTypes.DOUBLE, allowNull: true, defaultValue: null, primaryKey: false, @@ -73,6 +73,15 @@ const attributes = { comment: null, field: "v2" }, + rate: { + type: DataTypes.DOUBLE, + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "rate" + }, text: { type: DataTypes.TEXT, allowNull: false, |
