User anumeration for bid_state

This commit is contained in:
Shawn 2018-10-09 13:18:02 -05:00
parent bacb05abe8
commit 42ef398107
2 changed files with 4 additions and 6 deletions

View file

@ -275,6 +275,7 @@ var ClaimModel = (sequelize, {
BOOLEAN, BOOLEAN,
DATE, DATE,
DECIMAL, DECIMAL,
ENUM,
INTEGER, INTEGER,
STRING, STRING,
TEXT, TEXT,
@ -378,12 +379,8 @@ var ClaimModel = (sequelize, {
type: STRING, type: STRING,
set() { }, set() { },
}, },
is_filtered: {
type: BOOLEAN,
set() { },
},
bid_state: { bid_state: {
type: STRING, type: ENUM('Active', 'Expired', 'Controlling', 'Spent', 'Accepted'),
set() { }, set() { },
}, },
created_at: { created_at: {

View file

@ -38,6 +38,7 @@ export default (sequelize, {
BOOLEAN, BOOLEAN,
DATE, DATE,
DECIMAL, DECIMAL,
ENUM,
INTEGER, INTEGER,
STRING, STRING,
TEXT, TEXT,
@ -142,7 +143,7 @@ export default (sequelize, {
set() { }, set() { },
}, },
bid_state: { bid_state: {
type: STRING, type: ENUM('Active', 'Expired', 'Controlling', 'Spent', 'Accepted'),
set() { }, set() { },
}, },
created_at: { created_at: {