rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.09k stars 161 forks source link

Add default schema inferrer #428

Closed flash-gordon closed 7 years ago

flash-gordon commented 7 years ago

This add ability to infer more than just attributes. In rom-sql we need this for indexes and foreign at least. In theory, we might infer some storage options as well, such as tablespaces and page fillfactor (or give an API for doing this).