Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hanspagel/af27683c035fecad8784312565cc1752 to your computer and use it in GitHub Desktop.
Save hanspagel/af27683c035fecad8784312565cc1752 to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateOauthPersonalAccessClientsTable extends Migration
{
public function up()
{
Schema::create('oauth_personal_access_clients', function (Blueprint $table) {
$table->increments('id');
$table->integer('client_id')->index();
$table->timestamps();
});
}
public function down()
{
Schema::drop('oauth_personal_access_clients');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment