...
Well, you can! That's what prototypes are for. A prototype allows you to:
- Define the data type mappings between your model and the database internal types all in one place.
- Use the same mappings for all your applications and frameworks.
- Change information on one place, everything gets updated.
- Create slight variations to the defined mapping in a given attribute.
- Change DB easily without touching your models.
eogenerator
to-many relationships