Viewing File: /home/markqprx/iniasli.pro/migrations/2022_11_06_115107_increase_file_name_column_length.php

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{

    public function up()
    {
        Schema::table('file_entries', function (Blueprint $table) {
            $table->string('file_name', 50)->change();
        });
    }
    public function down()
    {
        //
    }
};
Back to Directory File Manager