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