the browser-facing portion of osu!
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
6use Illuminate\Database\Migrations\Migration;
7use Illuminate\Database\Schema\Blueprint;
8use Illuminate\Support\Facades\Schema;
9
10class DropCommentsFromBuilds extends Migration
11{
12 /**
13 * Run the migrations.
14 *
15 * @return void
16 */
17 public function up()
18 {
19 Schema::table('osu_builds', function (Blueprint $table) {
20 $table->dropColumn('comments');
21 });
22 }
23
24 /**
25 * Reverse the migrations.
26 *
27 * @return void
28 */
29 public function down()
30 {
31 Schema::table('osu_builds', function (Blueprint $table) {
32 $table->string('comments', 200)->nullable();
33 });
34 }
35}