Discover ways to implement custom complex types representing hive operation types
We need research specific to custom types definition (at PostgreSQL) what should allow us:
- define representation of each blockchain operation
- define a type be able to hold any of operations defined above. Best if types could be somehow controlled to accept only operations (i.e. by using some inheritance?)