Refactor ProductType model: Remove unused sellCostMinNeutral and sellCostMaxNeutral fields for cleaner code and improved maintainability.

This commit is contained in:
Torsten Schulz (local)
2026-01-28 15:13:39 +01:00
parent 0c407b81b7
commit 8837494a06

View File

@@ -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,