mirror of
https://github.com/grocy/grocy.git
synced 2026-04-10 14:36:16 +02:00
Adapted code style
This commit is contained in:
parent
d06603115d
commit
3f9cc211e5
|
|
@ -1,4 +1,4 @@
|
||||||
DROP VIEW IF EXISTS "main"."stock_current";
|
DROP VIEW stock_current;
|
||||||
CREATE VIEW stock_current
|
CREATE VIEW stock_current
|
||||||
AS
|
AS
|
||||||
SELECT
|
SELECT
|
||||||
|
|
@ -48,4 +48,4 @@ JOIN products p_sub
|
||||||
AND p_sub.active = 1
|
AND p_sub.active = 1
|
||||||
WHERE pr.parent_product_id != pr.sub_product_id
|
WHERE pr.parent_product_id != pr.sub_product_id
|
||||||
GROUP BY pr.sub_product_id
|
GROUP BY pr.sub_product_id
|
||||||
HAVING SUM(s.amount) > 0
|
HAVING SUM(s.amount) > 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user