Closed yoeriboven closed 4 years ago
The current column type for stock is decimal. Any specific reason for this?
stock
decimal
The admin panel already prevents using decimals through browser validation.
The reason I'd change this is because when you edit a product it will say: stock: 13.0000 which looks messy.
stock: 13.0000
Why not use an unsignedMediumInteger instead?
unsignedMediumInteger
The current column type for
stock
isdecimal
. Any specific reason for this?The admin panel already prevents using decimals through browser validation.
The reason I'd change this is because when you edit a product it will say:
stock: 13.0000
which looks messy.Why not use an
unsignedMediumInteger
instead?