<?php

use Illuminate\Database\Migrations\Migration;

class AddExternalContestType extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        DB::statement("ALTER TABLE contests CHANGE type type ENUM(
            'art',
            'beatmap',
            'music',
            'external'
        )");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        DB::statement("ALTER TABLE contests CHANGE type type ENUM(
            'art',
            'beatmap',
            'music'
        )");
    }
}

<?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;

class AddExternalContestType extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        DB::statement("ALTER TABLE contests CHANGE type type ENUM(
            'art',
            'beatmap',
            'music',
            'external'
        )");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        DB::statement("ALTER TABLE contests CHANGE type type ENUM(
            'art',
            'beatmap',
            'music'
        )");
    }
}

Add license header to migration
Add license header to migration
