remove publickeys from table

This commit is contained in:
Tyler Shipe 2021-07-26 18:46:23 -04:00
parent b69d924c6e
commit b7bd36db74
5 changed files with 0 additions and 10 deletions

View File

@ -7,9 +7,6 @@ module.exports = {
name: {
type: Sequelize.STRING,
},
publicKey: {
type: Sequelize.STRING,
},
mangoGroup: {
type: Sequelize.STRING,
},

View File

@ -7,9 +7,6 @@ module.exports = {
name: {
type: Sequelize.STRING,
},
publicKey: {
type: Sequelize.STRING,
},
mangoGroup: {
type: Sequelize.STRING,
},

View File

@ -34,7 +34,6 @@ const PerpMarketStats = db.sequelize.define(
},
},
mangoGroup: DataTypes.STRING,
publicKey: DataTypes.STRING,
time: DataTypes.DATE,
},
{

View File

@ -41,7 +41,6 @@ const PerpMarketStats = db.sequelize.define(
},
},
mangoGroup: DataTypes.STRING,
publicKey: DataTypes.STRING,
utilization: DataTypes.DECIMAL,
time: DataTypes.DATE,
},

View File

@ -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(),