insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'medium.media_detail_category.view', 'name' => 'View MediaDetailCategory', ], [ 'slug' => 'medium.media_detail_category.create', 'name' => 'Create MediaDetailCategory', ], [ 'slug' => 'medium.media_detail_category.edit', 'name' => 'Update MediaDetailCategory', ], [ 'slug' => 'medium.media_detail_category.delete', 'name' => 'Delete MediaDetailCategory', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/medium/media_detail_category', 'name' => 'MediaDetailCategory', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/medium/media_detail_category', 'name' => 'MediaDetailCategory', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'media_detail_category', 'name' => 'MediaDetailCategory', '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' => 'Medium', 'module' => 'MediaDetailCategory', 'user_type' => null, 'user_id' => null, 'key' => 'medium.media_detail_category.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }