openstackid/app/database/migrations/2013_10_17_211051_create_tr...

28 lines
642 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
class CreateTrustedSitesTable extends Migration {
public function up()
{
Schema::create('openid_trusted_sites', function($table)
{
$table->bigIncrements('id')->unsigned();
$table->string('realm',1024);
$table->string('data',5000)->nullable();
$table->string('policy',255);
$table->bigInteger("user_id")->unsigned();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('openid_trusted_sites');
}
}