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