This commit is contained in:
张成
2026-04-01 14:47:34 +08:00
parent 4c724143c0
commit 38430c9244
7 changed files with 20 additions and 4 deletions

View File

@@ -18,6 +18,10 @@ module.exports = (db) => {
allowNull: false,
defaultValue: "",
},
key: {
type: Sequelize.STRING(128),
allowNull: true,
},
token_hash: {
type: Sequelize.STRING(64),
allowNull: false,
@@ -42,6 +46,6 @@ module.exports = (db) => {
underscored: true,
}
);
// biz_api_token.sync({ force: true });
//biz_api_token.sync({ force: true });
return biz_api_token;
};