Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F9891295
2020_02_26_085835_entitlements_add_deleted_at.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
752 B
Referenced Files
None
Subscribers
None
2020_02_26_085835_entitlements_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
EntitlementsAddDeletedAt
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'entitlements'
,
function
(
Blueprint
$table
)
{
$table
->
softDeletes
();
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'entitlements'
,
function
(
Blueprint
$table
)
{
$table
->
dropColumn
([
'deleted_at'
]);
}
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Aug 21, 2:23 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1268117
Default Alt Text
2020_02_26_085835_entitlements_add_deleted_at.php (752 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment