I'm currently looking for the best way to use subgroups within databases.
As you can see on the picture the "Block" object can either be a "Calendar", "Survey" or "Gallery" object. Each of the object has a different structure.
What would be the best approach to use following structure in a database like MySQL or Cassandra?