File: /home/xedaptot/be.naniguide.com/database/migrations/2020_03_04_014436_add_plain_to_email.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddPlainToEmail extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('emails', function (Blueprint $table) {
$table->longtext('plain')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('emails', function (Blueprint $table) {
$table->dropColumn('plain');
});
}
}