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