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