Class: Dbee::SchemaFromTreeBasedModel
- Inherits:
-
Object
- Object
- Dbee::SchemaFromTreeBasedModel
- Defined in:
- lib/dbee/schema_from_tree_based_model.rb
Overview
Converts a tree based model to a Schema. Note that this results in a different but compatible schema compared to the result of generating a Dbee::Schema by calling to_schema on a Dbee::Base class. This is because converting from a tree based model is a lossy.