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

View file

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