insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.lead.blacklist.view', 'name' => 'View Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.create', 'name' => 'Create Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.edit', 'name' => 'Update Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.delete', 'name' => 'Delete Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.verify', 'name' => 'Verify Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.approve', 'name' => 'Approve Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.publish', 'name' => 'Publish Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.unpublish', 'name' => 'Unpublish Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.cancel', 'name' => 'Cancel Blacklist', ], [ 'slug' => 'bixo.lead.blacklist.archive', 'name' => 'Archive Blacklist', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/lead/blacklist', 'name' => 'Blacklist', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/lead/blacklist', 'name' => 'Blacklist', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'blacklist', 'name' => 'Blacklist', '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' => 'Lead', 'module' => 'Blacklist', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.lead.blacklist.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }