Page MenuHomePhorge

2019_09_23_071701_create_domains_table.php
No OneTemporary

Size
828 B
Referenced Files
None
Subscribers
None

2019_09_23_071701_create_domains_table.php

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
// phpcs:ignore
class CreateDomainsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('domains', function (Blueprint $table) {
$table->bigInteger('id');
$table->string('namespace')->unique();
$table->smallinteger('status');
$table->tinyinteger('type');
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('domains');
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Aug 18, 8:21 AM (13 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1238611
Default Alt Text
2019_09_23_071701_create_domains_table.php (828 B)

Event Timeline