mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Added a new product option default_purchase_price_type (closes #566)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
ALTER TABLE products
|
||||
ADD disable_open TINYINT NOT NULL DEFAULT 0 CHECK(disable_open IN (0, 1));
|
||||
|
||||
ALTER TABLE products
|
||||
ADD default_purchase_price_type TINYINT NOT NULL DEFAULT 1 CHECK(default_purchase_price_type IN (1, 2, 3));
|
||||
|
||||
DROP VIEW uihelper_stock_current_overview;
|
||||
CREATE VIEW uihelper_stock_current_overview
|
||||
AS
|
||||
|
Reference in New Issue
Block a user