mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
15 lines
240 B
SQL
15 lines
240 B
SQL
CREATE INDEX ix_stock_log_performance1 ON stock_log (
|
|
stock_id,
|
|
transaction_type,
|
|
amount
|
|
);
|
|
|
|
CREATE INDEX ix_stock_log_performance2 ON stock_log (
|
|
product_id,
|
|
best_before_date,
|
|
purchased_date,
|
|
transaction_type,
|
|
stock_id,
|
|
undone
|
|
);
|