DROP INDEX IF EXISTS face_id_unit_id_user_idx; CREATE INDEX face_id_unit_id_user_idx ON face USING btree (id_unit, id_user);