how to initialize tables for custom dashboard pages
Permalink
I am adding a few single pages to extend the dashboard functionality and these pages need to access some custom tables through my Model.
Is there a specific place I can put a db.xml so these tables get created automatically OR do I have to handle this in my Model by checking for the tables and creating them if necessary?
Is there a specific place I can put a db.xml so these tables get created automatically OR do I have to handle this in my Model by checking for the tables and creating them if necessary?
You can also use the package installation to pre-populate data if you need to.