• File: 2020_11_20_085050_create_emailsettings_table.php
  • Full Path: /home/masbinta/public_html/core/database/migrations/2020_11_20_085050_create_emailsettings_table.php
  • File size: 1.14 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateEmailsettingsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('emailsettings', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->integer('is_smtp')->nullable();
            $table->string('header_email')->nullable();
            $table->string('smtp_host')->nullable();
            $table->string('smtp_port')->nullable();
            $table->string('email_encryption')->nullable();
            $table->string('smtp_user')->nullable();
            $table->string('smtp_pass')->nullable();
            $table->string('from_email')->nullable();
            $table->string('from_name')->nullable();
            $table->tinyInteger('is_verification_email')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('emailsetting');
    }
}