This commit is contained in:
张成
2026-04-01 09:59:54 +08:00
parent aac2d4a8d5
commit 14f5d75d9d
11 changed files with 98 additions and 43 deletions

View File

@@ -4,11 +4,7 @@ module.exports = (db) => {
const biz_plan = db.define(
"biz_plan",
{
id: {
type: Sequelize.BIGINT.UNSIGNED,
primaryKey: true,
autoIncrement: true,
},
plan_code: {
type: Sequelize.STRING(64),
allowNull: false,
@@ -64,6 +60,6 @@ module.exports = (db) => {
comment: "套餐",
}
);
// biz_plan.sync({ alter: true });
// biz_plan.sync({ alter: true });
return biz_plan;
};