diff --git a/migrations/20210216035848-create-spot-market-stats.js b/migrations/20210216035848-create-spot-market-stats.js index a44a144..4f931ba 100644 --- a/migrations/20210216035848-create-spot-market-stats.js +++ b/migrations/20210216035848-create-spot-market-stats.js @@ -7,9 +7,6 @@ module.exports = { name: { type: Sequelize.STRING, }, - publicKey: { - type: Sequelize.STRING, - }, mangoGroup: { type: Sequelize.STRING, }, diff --git a/migrations/20210216035849-create-perp-market-stats.js b/migrations/20210216035849-create-perp-market-stats.js index 2e5f7ad..96e298f 100644 --- a/migrations/20210216035849-create-perp-market-stats.js +++ b/migrations/20210216035849-create-perp-market-stats.js @@ -7,9 +7,6 @@ module.exports = { name: { type: Sequelize.STRING, }, - publicKey: { - type: Sequelize.STRING, - }, mangoGroup: { type: Sequelize.STRING, }, diff --git a/models/perp_market_stats.ts b/models/perp_market_stats.ts index c33db4a..9baf004 100644 --- a/models/perp_market_stats.ts +++ b/models/perp_market_stats.ts @@ -34,7 +34,6 @@ const PerpMarketStats = db.sequelize.define( }, }, mangoGroup: DataTypes.STRING, - publicKey: DataTypes.STRING, time: DataTypes.DATE, }, { diff --git a/models/spot_market_stats.ts b/models/spot_market_stats.ts index 6f4f7b5..010f736 100644 --- a/models/spot_market_stats.ts +++ b/models/spot_market_stats.ts @@ -41,7 +41,6 @@ const PerpMarketStats = db.sequelize.define( }, }, mangoGroup: DataTypes.STRING, - publicKey: DataTypes.STRING, utilization: DataTypes.DECIMAL, time: DataTypes.DATE, }, diff --git a/src/collectStats.ts b/src/collectStats.ts index f998670..baf1932 100644 --- a/src/collectStats.ts +++ b/src/collectStats.ts @@ -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(),