insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'contact.b2buy.view', 'name' => 'View B2buy', ], [ 'slug' => 'contact.b2buy.create', 'name' => 'Create B2buy', ], [ 'slug' => 'contact.b2buy.edit', 'name' => 'Update B2buy', ], [ 'slug' => 'contact.b2buy.delete', 'name' => 'Delete B2buy', ], // Customize this permissions if needed. [ 'slug' => 'contact.b2buy.verify', 'name' => 'Verify B2buy', ], [ 'slug' => 'contact.b2buy.approve', 'name' => 'Approve B2buy', ], [ 'slug' => 'contact.b2buy.publish', 'name' => 'Publish B2buy', ], [ 'slug' => 'contact.b2buy.unpublish', 'name' => 'Unpublish B2buy', ], [ 'slug' => 'contact.b2buy.cancel', 'name' => 'Cancel B2buy', ], [ 'slug' => 'contact.b2buy.archive', 'name' => 'Archive B2buy', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/contact/b2buy', 'name' => 'B2buy', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/contact/b2buy', 'name' => 'B2buy', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'b2buy', 'name' => 'B2buy', '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' => 'Contact', 'module' => 'B2buy', 'user_type' => null, 'user_id' => null, 'key' => 'contact.b2buy.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }