Refactor ProductType model: Remove unused sellCostMinNeutral and sellCostMaxNeutral fields for cleaner code and improved maintainability.
This commit is contained in:
@@ -15,17 +15,7 @@ ProductType.init({
|
|||||||
allowNull: false},
|
allowNull: false},
|
||||||
sellCost: {
|
sellCost: {
|
||||||
type: DataTypes.INTEGER,
|
type: DataTypes.INTEGER,
|
||||||
allowNull: false}
|
allowNull: false
|
||||||
,
|
|
||||||
sellCostMinNeutral: {
|
|
||||||
type: DataTypes.DECIMAL,
|
|
||||||
allowNull: true,
|
|
||||||
field: 'sell_cost_min_neutral'
|
|
||||||
},
|
|
||||||
sellCostMaxNeutral: {
|
|
||||||
type: DataTypes.DECIMAL,
|
|
||||||
allowNull: true,
|
|
||||||
field: 'sell_cost_max_neutral'
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
sequelize,
|
sequelize,
|
||||||
|
|||||||
Reference in New Issue
Block a user