Commit 25859d1b by 宋毅

增加字段

parent b27c4c6b
......@@ -19,11 +19,14 @@ module.exports = (db, DataTypes) => {
service_business_name: DataTypes.STRING(100),
pay_after_jump_h5url: DataTypes.STRING(500),
pay_after_jump_pcurl: DataTypes.STRING(500),
pc_pic_url: DataTypes.STRING(500), //pc端产品封面
pc_desc_url: DataTypes.STRING(2048), //pc端产品详情
is_enabled: { //状态 0禁用 1启用
type: DataTypes.BOOLEAN,
defaultValue: true,
},
sort: DataTypes.INTEGER, //排序
is_package: DataTypes.INTEGER, //是否是套餐,0否,1是
}, {
paranoid: false,//假的删除
underscored: true,
......@@ -32,11 +35,7 @@ module.exports = (db, DataTypes) => {
timestamps: true,
updatedAt: false,
tableName: 'p_product',
validate: {
},
indexes: [
]
validate: {},
indexes: []
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment