Leaderboard Added to HBContestPage

This commit is contained in:
ZacTohZY
2024-07-31 03:10:31 +08:00
parent 93d2cd8a05
commit b6fb95a5fe
4 changed files with 276 additions and 52 deletions

View File

@@ -12,23 +12,23 @@ module.exports = (sequelize, DataTypes) => {
},
electricalBill: {
type: DataTypes.DECIMAL(7, 2),
allowNull: false
allowNull: false,
},
waterBill: {
type: DataTypes.DECIMAL(7, 2),
allowNull: false
allowNull: false,
},
totalBill: {
type: DataTypes.DECIMAL(7, 2),
allowNull: false
allowNull: false,
},
noOfDependents: {
type: DataTypes.INTEGER,
allowNull: false
allowNull: false,
},
avgBill: {
type: DataTypes.DECIMAL(7, 2),
allowNull: false
allowNull: false,
},
ebPicture: {
type: DataTypes.BLOB("long"),
@@ -40,6 +40,7 @@ module.exports = (sequelize, DataTypes) => {
},
userId: {
type: DataTypes.UUID,
allowNull: false,
},
},
{