From 9fec4cf18e95c251da303ce539966ea92ebaf006 Mon Sep 17 00:00:00 2001 From: arkanoider Date: Wed, 11 Dec 2024 22:51:54 +0100 Subject: [PATCH] added indexes for buyer and seller in db table --- migrations/20221222153301_orders.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrations/20221222153301_orders.sql b/migrations/20221222153301_orders.sql index eb51350..885bb39 100644 --- a/migrations/20221222153301_orders.sql +++ b/migrations/20221222153301_orders.sql @@ -36,5 +36,6 @@ CREATE TABLE IF NOT EXISTS orders ( payment_attempts integer default 0, failed_payment integer default 0, expires_at integer not null, - trade_index integer default 0 + trade_index_seller integer default 0, + trade_index_buyer integer default 0 );