AddTrackIntoSongs::up PHP Метод

up() публичный Метод

Run the migrations.
public up ( ) : void
Результат void
    public function up()
    {
        Schema::table('songs', function (Blueprint $table) {
            $table->integer('track')->after('length')->nullable();
        });
    }
AddTrackIntoSongs