Fix no if not exists for new index

This commit is contained in:
norohind committed 2021-11-02 20:01:20 +03:00
1 parent b904e6fe8f
commit 93ecd24c51
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ where inserted_timestamp in (
group by squad_id)
group by squad_id;
create index idx_squads_states_0 on squads_states (squad_id);
create index if not exists idx_squads_states_0 on squads_states (squad_id);
create view if not exists squads_view_2
as