mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Modify Users Table (#3709)
* Fixes for correct way to change an auth'd contact * modify users table
This commit is contained in:
parent
2000795fdc
commit
6f373efd0d
@ -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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user