Modify Users Table (#3709)

* Fixes for correct way to change an auth'd contact

* modify users table
This commit is contained in:
David Bomba 2020-05-16 21:16:41 +10:00 committed by GitHub
parent 2000795fdc
commit 6f373efd0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
class AddGoogleRefreshTokenToUsersTable extends Migration class AddGoogleRefreshTokenToUsersTable extends Migration
@ -17,6 +18,9 @@ class AddGoogleRefreshTokenToUsersTable extends Migration
$table->string('oauth_user_refresh_token')->nullable(); $table->string('oauth_user_refresh_token')->nullable();
$table->text('oauth_user_token')->change(); $table->text('oauth_user_token')->change();
}); });
DB::statement("alter table users modify column oauth_user_token text");
} }
/** /**