This commit is contained in:
张成
2026-04-01 10:37:51 +08:00
parent 494555a6e1
commit 7199c6b5cf
10 changed files with 187 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ module.exports = (db) => {
const biz_api_token = db.define(
"biz_api_token",
{
user_id: {
type: Sequelize.BIGINT.UNSIGNED,
allowNull: false,
@@ -39,6 +39,6 @@ module.exports = (db) => {
comment: "API Token",
}
);
// biz_api_token.sync({ alter: true });
// biz_api_token.sync({ force: true });
return biz_api_token;
};