1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user