Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F9786392
2020_02_11_110960_domains_add_deleted_at.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
737 B
Referenced Files
None
Subscribers
None
2020_02_11_110960_domains_add_deleted_at.php
View Options
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
// phpcs:ignore
class
DomainsAddDeletedAt
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'domains'
,
function
(
Blueprint
$table
)
{
$table
->
softDeletes
();
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'domains'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
([
'deleted_at'
]);
}
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 6:31 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1236923
Default Alt Text
2020_02_11_110960_domains_add_deleted_at.php (737 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment