Viewing File: /home/markqprx/iniasli.pro/migrations/2021_10_13_132915_add_token_cols_to_social_profiles_table.php

<?php

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

class AddTokenColsToSocialProfilesTable extends Migration
{
    public function up()
    {
        Schema::table('social_profiles', function (Blueprint $table) {
            $table->string('access_token', 250)->nullable();
            $table->string('refresh_token', 250)->nullable();
            $table->timestamp('access_expires_at')->nullable();
        });
    }

    public function down()
    {
        //
    }
}
Back to Directory File Manager