···11+<?php
22+33+// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
44+// See the LICENCE file in the repository root for full licence text.
55+66+declare(strict_types=1);
77+88+use Illuminate\Database\Migrations\Migration;
99+use Illuminate\Database\Schema\Blueprint;
1010+use Illuminate\Support\Facades\Schema;
1111+1212+return new class extends Migration
1313+{
1414+ /**
1515+ * Run the migrations.
1616+ *
1717+ * @return void
1818+ */
1919+ public function up()
2020+ {
2121+ Schema::table('solo_scores', function (Blueprint $table) {
2222+ $table->dropColumn('deleted_at');
2323+ });
2424+ }
2525+2626+ /**
2727+ * Reverse the migrations.
2828+ *
2929+ * @return void
3030+ */
3131+ public function down()
3232+ {
3333+ Schema::table('solo_scores', function (Blueprint $table) {
3434+ $table->timestampTz('deleted_at')->nullable()->after('updated_at');
3535+ });
3636+ }
3737+};