1-- Run after update_ev_store.sql
2-- rebuild primary key on EV with extra columns
3ALTER TABLE public.ev_store DROP CONSTRAINT "ev_store_idx0";
4ALTER TABLE ev_store ADD CONSTRAINT ev_store_idx0 PRIMARY KEY (sid_num, sensing_time, spid, block_index, sequence_count);