1
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = (db) => {
|
||||
},
|
||||
{
|
||||
tableName: "biz_api_tokens",
|
||||
timestamps: true,
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
comment: "API Token",
|
||||
}
|
||||
|
||||
@@ -34,10 +34,6 @@ module.exports = (db) => {
|
||||
type: Sequelize.JSON,
|
||||
allowNull: true,
|
||||
},
|
||||
created_at: {
|
||||
type: Sequelize.DATE,
|
||||
allowNull: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
tableName: "biz_audit_log",
|
||||
|
||||
@@ -48,7 +48,7 @@ module.exports = (db) => {
|
||||
},
|
||||
{
|
||||
tableName: "biz_plans",
|
||||
timestamps: true,
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
comment: "套餐",
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ module.exports = (db) => {
|
||||
},
|
||||
{
|
||||
tableName: "biz_subscriptions",
|
||||
timestamps: true,
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
comment: "订阅",
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ module.exports = (db) => {
|
||||
},
|
||||
{
|
||||
tableName: "biz_usage_monthly",
|
||||
timestamps: true,
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
comment: "月用量",
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ module.exports = (db) => {
|
||||
// 与库表名一致:单数 biz_user(与模型名一致,避免部分环境下 tableName 未生效时落到默认表名 biz_user)
|
||||
tableName: "biz_user",
|
||||
freezeTableName: true,
|
||||
timestamps: true,
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
comment: "业务用户",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user