AddStackIdToNotifications::up PHP Метод

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

Run the migrations.
public up ( ) : void
Результат void
    public function up()
    {
        Schema::table('notifications', function (Blueprint $table) {
            $table->integer('stack_id')->unsigned()->nullable()->after('expire_time');
        });
    }
AddStackIdToNotifications