Page MenuHomePhorge

2019_09_23_071701_create_domains_table.php
No OneTemporary

Authored By
Unknown
Size
765 B
Referenced Files
None
Subscribers
None

2019_09_23_071701_create_domains_table.php

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDomainsTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create('domains', static 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.
*/
public function down()
{
Schema::dropIfExists('domains');
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 12:47 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18879564
Default Alt Text
2019_09_23_071701_create_domains_table.php (765 B)

Event Timeline