From 7112102d47314b58f3634dee6172896bef747e0e Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Tue, 19 Apr 2022 15:17:12 +0300 Subject: [PATCH] create index idx_oi_squad_id --- sql/schema.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/schema.sql b/sql/schema.sql index 5515aa5..85c9ba7 100644 --- a/sql/schema.sql +++ b/sql/schema.sql @@ -10,6 +10,8 @@ create table if not exists operations_info ( squad_id integer ); +create index if not exists idx_oi_squad_id on operations_info(squad_id); + insert into settings (key, int_value) values ('disable_triggers', 1) on conflict do nothing; create table if not exists squadrons_news_historical (