Grouping database types in gem file