datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
datatable.directory/sideload/adamwathan/eloquent-oauth-l5/migrations/create_oauth_identities_tab...

26 lines
711 B

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateOauthIdentitiesTable extends Migration
{
public function up()
{
$tableName = Config::get('eloquent-oauth.table');
Schema::create($tableName, function (Blueprint $table) {
$table->increments('id');
$table->integer('user_id')->unsigned();
$table->string('provider_user_id');
$table->string('provider');
$table->string('access_token');
$table->timestamps();
});
}
public function down()
{
$tableName = Config::get('eloquent-oauth.table');
Schema::drop($tableName);
}
}