<NME> 2022_07_08_085310_add_allow_performance_to_osu_builds.php
<BEF> ADDFILE
<MSG> Merge pull request #9097 from smoogipoo/add-performance-column-to-builds

Add `allow_performance` column to `osu_builds`
<DFF> @@ -0,0 +1,36 @@
+<?php
+
+// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
+// See the LICENCE file in the repository root for full licence text.
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class AddAllowPerformanceToOsuBuilds extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('osu_builds', function (Blueprint $table) {
+            $table->boolean('allow_performance')->default(false)->after('allow_bancho');
+            $table->index('allow_performance');
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        Schema::table('osu_builds', function (Blueprint $table) {
+            $table->dropColumn('allow_performance');
+        });
+    }
+}

{'addition_count': 36, 'commit_subject': 'Merge pull request #9097 from smoogipoo/add-performance-column-to-builds', 'deletion_count': 0, 'file_extension': '.php', 'lang': 'php', 'license': 'agpl-3.0', 'repo_name': 'ppy/osu-web'}