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