osb/database/migrations/2017_06_18_104531_create_ab_ssl_table.php
2018-06-18 21:18:34 +10:00

36 lines
567 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAbSslTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ab_ssl', function(Blueprint $table)
{
$table->bigInteger('id');
$table->integer('site_id')->index('fk_ssl_set_idx');
$table->string('extensions', 64);
$table->primary(['id','site_id']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('ab_ssl');
}
}