Hi! I would like to implement an installation routine.
When my default controller is started, it should invoke a function that create if needed the tables in my database...
The question is where do I put (best practice) the function? In the main controller? In a model? I tried in an Helper but got issues with the db->table_exist()