Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120833361
2019_09_23_071701_create_domains_table.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
765 B
Referenced Files
None
Subscribers
None
2019_09_23_071701_create_domains_table.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline