for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateCmsEmailTemplates extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('cms_email_templates', function (Blueprint $table) {
$table->increments('id');
$table->string('name')->nullable();
$table->string('slug')->nullable();
$table->string('subject')->nullable();
$table->longtext('content')->nullable();
$table->string('description')->nullable();
$table->string('from_name')->nullable();
$table->string('from_email')->nullable();
$table->string('cc_email')->nullable();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::drop('cms_email_templates');