Open tomduggan85 opened 6 years ago
https://github.com/FACG4/nigerian-airlines/blob/bb60785ca1a4ea3d7b8a50f0d9ef8c643df6965f/server/database/models/customers.js#L20
Instead of using a STRING as the datatype of notify_me, you could use a boolean (DataTypes.BOOLEAN), as the only values you'd expect to store there is true or false.
Yeah it has to be boolean, fixed thanks
https://github.com/FACG4/nigerian-airlines/blob/bb60785ca1a4ea3d7b8a50f0d9ef8c643df6965f/server/database/models/customers.js#L20
Instead of using a STRING as the datatype of notify_me, you could use a boolean (DataTypes.BOOLEAN), as the only values you'd expect to store there is true or false.