@dascompany/product 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SQL.json +1 -1
- package/package.json +1 -1
package/dist/SQL.json
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"delete": "UPDATE orders.orders_products SET in_order = false WHERE id = $id::BIGINT"
|
|
79
79
|
},
|
|
80
80
|
"statuses": {
|
|
81
|
-
"select": "SELECT s.id, s.order_id, created_at, user_id, s.type as type_id, st.key as type_name FROM orders.statuses as s JOIN orders.status_types as st ON s.type = st.id
|
|
81
|
+
"select": "SELECT s.id, s.order_id, created_at, user_id, s.type as type_id, st.key as type_name FROM orders.statuses as s JOIN orders.status_types as st ON s.type = st.id",
|
|
82
82
|
"insert": "INSERT INTO orders.statuses( id, type, order_id, user_id ) VALUES ($id::BIGINT, $type::BIGINT, $order_id::BIGINT, $user_id::BIGINT)",
|
|
83
83
|
"selectNextId": "SELECT nextval('orders.statuses_id'::regclass)"
|
|
84
84
|
},
|