the browser-facing portion of osu!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add migration for `users_lazer` column on `osu_banchostats`

tsunyoku f4f56657 20eb013b

+33
+33
database/migrations/2024_02_12_000001_add_users_lazer_to_bancho_stats.php
··· 1 + <?php 2 + 3 + // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4 + // See the LICENCE file in the repository root for full licence text. 5 + 6 + declare(strict_types=1); 7 + 8 + use Illuminate\Database\Migrations\Migration; 9 + use Illuminate\Database\Schema\Blueprint; 10 + use Illuminate\Support\Facades\Schema; 11 + 12 + return new class extends Migration 13 + { 14 + /** 15 + * Run the migrations. 16 + */ 17 + public function up(): void 18 + { 19 + Schema::table('osu_banchostats', function (Blueprint $table) { 20 + $table->unsignedMediumInteger('users_lazer')->after('users_osu'); 21 + }); 22 + } 23 + 24 + /** 25 + * Reverse the migrations. 26 + */ 27 + public function down(): void 28 + { 29 + Schema::table('osu_banchostats', function (Blueprint $table) { 30 + $table->dropColumn('users_lazer'); 31 + }); 32 + } 33 + };