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