set default store for product, purchase set last store purchased if available or use product default (#672)

This commit is contained in:
kriddles
2020-03-27 13:27:40 -05:00
committed by GitHub
parent d509f9add0
commit 2fee4b45ff
10 changed files with 39 additions and 6 deletions

View File

@@ -11,6 +11,9 @@ ADD shopping_location_id INTEGER;
ALTER TABLE stock
ADD shopping_location_id INTEGER;
ALTER TABLE products
ADD shopping_location_id INTEGER;
DROP VIEW stock_current_locations;
CREATE VIEW stock_current_locations
AS