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