schema->create('oauth', function (Blueprint $table) { $table->increments('id'); $this->referencesUser($table); $table->string('provider'); $table->string('identifier'); $table->unique(['provider', 'identifier']); $table->timestamps(); }); } /** * Reverse the migration */ public function down(): void { $this->schema->drop('oauth'); } }