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