I have a fully completed existing codeigniter project with me. I created a mysql db locally and changed dbnames in database.php.
Now, how to setup this db by creating tables etc as per the code.
I thought db/tables would be automatically created but when I opened page it said 'ci_sessions' table is not created.
For eg: in ruby on rails, once we have code, we can do
rake db:migrate
which will create all tables. I want this feature.
In Django, we can do
python manage.py syncdb
which will create all tables.
In java, I will have an sql file, I will execute that file using db commands which will generate db table.
Anything like any of the above in codeigniter ?