This commit is contained in:
张成
2026-04-01 10:58:28 +08:00
parent ce2521cadc
commit 30a909762e
13 changed files with 134 additions and 7 deletions

View File

@@ -42,7 +42,12 @@ module.exports = (db) => {
defaultValue: Sequelize.NOW,
},
},
{
tableName: "biz_api_call_log",
freezeTableName: true,
timestamps: false,
underscored: true,
}
);
return biz_api_call_log;
};

View File

@@ -31,6 +31,12 @@ module.exports = (db) => {
expire_at: { type: Sequelize.DATE, allowNull: false },
last_used_at: { type: Sequelize.DATE, allowNull: true },
},
{
tableName: "biz_api_token",
freezeTableName: true,
timestamps: false,
underscored: true,
}
);
// biz_api_token.sync({ force: true });
return biz_api_token;

View File

@@ -29,6 +29,8 @@ module.exports = (db) => {
},
},
{
tableName: "biz_usage_monthly",
freezeTableName: true,
timestamps: false,
underscored: true,
}