From 6f373efd0da574d06676c9886147503d8ad693d8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 16 May 2020 21:16:41 +1000 Subject: [PATCH] Modify Users Table (#3709) * Fixes for correct way to change an auth'd contact * modify users table --- ...0_05_13_035355_add_google_refresh_token_to_users_table.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/database/migrations/2020_05_13_035355_add_google_refresh_token_to_users_table.php b/database/migrations/2020_05_13_035355_add_google_refresh_token_to_users_table.php index 0f4e1999d028..48ecd4e30e18 100644 --- a/database/migrations/2020_05_13_035355_add_google_refresh_token_to_users_table.php +++ b/database/migrations/2020_05_13_035355_add_google_refresh_token_to_users_table.php @@ -2,6 +2,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; +use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; class AddGoogleRefreshTokenToUsersTable extends Migration @@ -17,6 +18,9 @@ class AddGoogleRefreshTokenToUsersTable extends Migration $table->string('oauth_user_refresh_token')->nullable(); $table->text('oauth_user_token')->change(); }); + + DB::statement("alter table users modify column oauth_user_token text"); + } /**