sql: add desc index on snh(operation_id)

This commit is contained in:
norohind committed 2022-04-21 13:03:01 +03:00
1 parent 7939e24de2
commit 04cccabfa2
1 file changed
+3 -1
+3 -1
View File
@@ -311,4 +311,6 @@ begin
user_id = new.user_id,
news_id = new.news_id,
"date" = new.date;
end;
end;
create index if not exists idx_snh_operation_id_desc on squadrons_news_historical (operation_id desc);