08-21-2020, 07:07 PM
For the collections, something has to connect the sobject to another sobject and that requires a table. Any search_type can have collections, but it needs this supporting table. For example, with shots, you would need a shot_in_shot table to support the many-to-many relationship. The checkbox for "Has Collections" when creating an stype creates the table and adds the necessary lines in the schema. I am not sure how you could do this without this ... well, you could use a jsonb column on the collection to store all the relationships but that brings its own set of problems.