So I have these vehicles, many different types of them. Every type has its own table, with many attributes. Then I have a "vehicles" table, which holds the ids and types of all the vehicles in every table. Vehicles can have photos, so I have a "photos" table, with a vehicle_id, linking the photo to the vehicle it belongs to.
Now every vehicle also has a list of equipment it has, which I store as a JSON array in a single "equipment" column.
Something like this: http://pastie.org/353195
How could I do this better, especially with the equipment column?