mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-26 11:59:42 -05:00
21 lines
771 B
SQL
21 lines
771 B
SQL
-- alter quantity fields
|
|
|
|
ALTER TABLE `ospos_items`
|
|
MODIFY COLUMN `reorder_level` decimal(15,3) NOT NULL DEFAULT '0',
|
|
MODIFY COLUMN `receiving_quantity` decimal(15,3) NOT NULL DEFAULT '1'
|
|
|
|
ALTER TABLE `ospos_item_kit_items`
|
|
MODIFY COLUMN `quantity` decimal(15,3) NOT NULL
|
|
|
|
ALTER TABLE `ospos_item_quantities`
|
|
MODIFY COLUMN `quantity` decimal(15,3) NOT NULL DEFAULT '0'
|
|
|
|
ALTER TABLE `ospos_receivings_items`
|
|
MODIFY COLUMN `quantity_purchased` decimal(15,3) NOT NULL DEFAULT '0',
|
|
MODIFY COLUMN `receiving_quantity` decimal(15,3) NOT NULL DEFAULT '1'
|
|
|
|
ALTER TABLE `ospos_sales_items`
|
|
MODIFY COLUMN `quantity_purchased` decimal(15,3) NOT NULL DEFAULT '0'
|
|
|
|
ALTER TABLE `ospos_sales_suspended_items`
|
|
MODIFY COLUMN `quantity_purchased` decimal(15,3) NOT NULL DEFAULT '0' |