Fix no if not exists for new index

This commit is contained in:
norohind 2021-11-02 20:01:20 +03:00
parent b904e6fe8f
commit 93ecd24c51
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

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