Page MenuHomePhorge

2020_02_26_085835_entitlements_add_deleted_at.php
No OneTemporary

Authored By
Unknown
Size
752 B
Referenced Files
None
Subscribers
None

2020_02_26_085835_entitlements_add_deleted_at.php

<?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

Mime Type
text/x-php
Expires
Fri, Apr 24, 1:21 PM (1 d, 11 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5d/03/e21abb701dd2f06ca05df1f6084e
Default Alt Text
2020_02_26_085835_entitlements_add_deleted_at.php (752 B)

Event Timeline