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