Viewing File: /home/markqprx/iniasli.pro/migrations/2019_12_28_190836_update_file_entry_models_table_to_v2.php

<?php

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

class UpdateFileEntryModelsTableToV2 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('file_entry_models', function (Blueprint $table) {
            $table->timestamps();
            $table->boolean('owner')->default(0)->index();
            $table->text('permissions')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
Back to Directory File Manager