This commit is contained in:
张成
2026-04-01 10:42:33 +08:00
parent 7199c6b5cf
commit 433077f08a
14 changed files with 10 additions and 76 deletions

View File

@@ -12,7 +12,6 @@ module.exports = (db) => {
plan_id: {
type: Sequelize.BIGINT.UNSIGNED,
allowNull: true,
comment: "冗余:鉴权时少联表",
},
token_name: {
type: Sequelize.STRING(100),
@@ -32,12 +31,6 @@ module.exports = (db) => {
expire_at: { type: Sequelize.DATE, allowNull: false },
last_used_at: { type: Sequelize.DATE, allowNull: true },
},
{
tableName: "biz_api_tokens",
timestamps: false,
underscored: true,
comment: "API Token",
}
);
// biz_api_token.sync({ force: true });
return biz_api_token;