Page MenuHomePhorge

2022_09_01_100000_plans_mode.php
No OneTemporary

Size
724 B
Referenced Files
None
Subscribers
None

2022_09_01_100000_plans_mode.php

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table(
'plans',
function (Blueprint $table) {
$table->string('mode', 32)->default('email');
}
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table(
'plans',
function (Blueprint $table) {
$table->dropColumn('mode');
}
);
}
};

File Metadata

Mime Type
text/x-php
Expires
Tue, Sep 29, 1:22 AM (1 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1382920
Default Alt Text
2022_09_01_100000_plans_mode.php (724 B)

Event Timeline