Files
faveo/database/migrations/2015_05_07_043904_create_email_table.php
2015-12-22 14:09:23 +05:30

40 lines
821 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateEmailTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('email', function (Blueprint $table) {
$table->increments('id');
$table->string('template');
$table->string('sys_email');
$table->string('alert_email');
$table->string('admin_email');
$table->string('mta');
$table->boolean('email_fetching');
$table->boolean('strip');
$table->boolean('separator');
$table->boolean('all_emails');
$table->boolean('email_collaborator');
$table->boolean('attachment');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::drop('email');
}
}