Commit 50b57699 by 宋毅

增加字段

parent 124ea7c4
......@@ -3,8 +3,12 @@ const settings = require("../../../../config/settings");
const uiconfig = system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => {
return db.define("orderdelivery", {
sourceOrderNo :DataTypes.STRING(128),
deliveryContent :DataTypes.JSON(),
channelServiceNo: DataTypes.STRING(128),
channelOrderNo: DataTypes.STRING(128),
deliveryNo: DataTypes.STRING(128),
is_package: DataTypes.INTEGER,
sourceOrderNo: DataTypes.STRING(128),
deliveryContent: DataTypes.JSON(),
}, {
paranoid: true,//假的删除
underscored: true,
......@@ -15,10 +19,7 @@ module.exports = (db, DataTypes) => {
//freezeTableName: true,
// define the table's name
tableName: 'c_order_delivery',
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