remove publickeys from table
This commit is contained in:
parent
b69d924c6e
commit
b7bd36db74
|
@ -7,9 +7,6 @@ module.exports = {
|
|||
name: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
publicKey: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
mangoGroup: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
|
|
|
@ -7,9 +7,6 @@ module.exports = {
|
|||
name: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
publicKey: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
mangoGroup: {
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
|
|
|
@ -34,7 +34,6 @@ const PerpMarketStats = db.sequelize.define(
|
|||
},
|
||||
},
|
||||
mangoGroup: DataTypes.STRING,
|
||||
publicKey: DataTypes.STRING,
|
||||
time: DataTypes.DATE,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -41,7 +41,6 @@ const PerpMarketStats = db.sequelize.define(
|
|||
},
|
||||
},
|
||||
mangoGroup: DataTypes.STRING,
|
||||
publicKey: DataTypes.STRING,
|
||||
utilization: DataTypes.DECIMAL,
|
||||
time: DataTypes.DATE,
|
||||
},
|
||||
|
|
|
@ -65,7 +65,6 @@ async function main() {
|
|||
return {
|
||||
time: new Date(),
|
||||
name: groupConfig.spotMarkets[index].name,
|
||||
publicKey: spotMarket.publicKey.toString(),
|
||||
mangoGroup: groupConfig.name,
|
||||
totalDeposits: totalDeposits.toNumber(),
|
||||
totalBorrows: totalBorrows.toNumber(),
|
||||
|
@ -89,7 +88,6 @@ async function main() {
|
|||
return {
|
||||
time: new Date(),
|
||||
name: groupConfig.perpMarkets[index].name,
|
||||
publicKey: perpMarket.publicKey.toString(),
|
||||
mangoGroup: groupConfig.name,
|
||||
longFunding: perpMarket.longFunding.toNumber(),
|
||||
shortFunding: perpMarket.shortFunding.toNumber(),
|
||||
|
|
Loading…
Reference in New Issue