Let's first take care of the Category model.
php oil generate admin/orm category name:string -s
Note that we added the
s for skip) parameter, as some files have already been generated previously and we don't want to replace them. This command line should output:
Creating migration: APPPATH/migrations/002_create_categories.php Creating model: APPPATH/classes/model/category.php Creating controller: APPPATH/classes/controller/admin/category.php Creating view: APPPATH/views/admin/category/index.php Creating view: APPPATH/views/admin/category/view.php Creating view: APPPATH/views/admin/category/create.php Creating view: APPPATH/views/admin/category/edit.php Creating view: APPPATH/views/admin...