Now we separate the names of the vehicles by ";", but then it is considered as a single string, and it is impossible to make text search. E.g., if a declarant has 2 cars: Mercedes and Porsche, vehicles.all_names will be equal to "Mercedes;Porsche", and will not appear in the search for "Mercedes Porsche".
That's why we need to add space
Now we separate the names of the vehicles by ";", but then it is considered as a single string, and it is impossible to make text search. E.g., if a declarant has 2 cars: Mercedes and Porsche, vehicles.all_names will be equal to "Mercedes;Porsche", and will not appear in the search for "Mercedes Porsche". That's why we need to add space