insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'act.activity_college.view', 'name' => 'View ActivityCollege', ], [ 'slug' => 'act.activity_college.create', 'name' => 'Create ActivityCollege', ], [ 'slug' => 'act.activity_college.edit', 'name' => 'Update ActivityCollege', ], [ 'slug' => 'act.activity_college.delete', 'name' => 'Delete ActivityCollege', ], // Customize this permissions if needed. [ 'slug' => 'act.activity_college.verify', 'name' => 'Verify ActivityCollege', ], [ 'slug' => 'act.activity_college.approve', 'name' => 'Approve ActivityCollege', ], [ 'slug' => 'act.activity_college.publish', 'name' => 'Publish ActivityCollege', ], [ 'slug' => 'act.activity_college.unpublish', 'name' => 'Unpublish ActivityCollege', ], [ 'slug' => 'act.activity_college.cancel', 'name' => 'Cancel ActivityCollege', ], [ 'slug' => 'act.activity_college.archive', 'name' => 'Archive ActivityCollege', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/act/activity_college', 'name' => 'ActivityCollege', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/act/activity_college', 'name' => 'ActivityCollege', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'activity_college', 'name' => 'ActivityCollege', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Act', 'module' => 'ActivityCollege', 'user_type' => null, 'user_id' => null, 'key' => 'act.activity_college.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }