insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.contact.contact.view', 'name' => 'View Contact', ], [ 'slug' => 'bixo.contact.contact.create', 'name' => 'Create Contact', ], [ 'slug' => 'bixo.contact.contact.edit', 'name' => 'Update Contact', ], [ 'slug' => 'bixo.contact.contact.delete', 'name' => 'Delete Contact', ], [ 'slug' => 'bixo.contact.contact.verify', 'name' => 'Verify Contact', ], [ 'slug' => 'bixo.contact.contact.approve', 'name' => 'Approve Contact', ], [ 'slug' => 'bixo.contact.contact.publish', 'name' => 'Publish Contact', ], [ 'slug' => 'bixo.contact.contact.unpublish', 'name' => 'Unpublish Contact', ], [ 'slug' => 'bixo.contact.contact.cancel', 'name' => 'Cancel Contact', ], [ 'slug' => 'bixo.contact.contact.archive', 'name' => 'Archive Contact', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/contact/contact', 'name' => 'Contact', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/contact/contact', 'name' => 'Contact', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'contact', 'name' => 'Contact', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Contact', 'module' => 'Contact', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.contact.contact.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }