<?php

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

class CreateSettingsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('settings', function (Blueprint $table) {
            $table->id();
            $table->string('site_title_ar')->nullable();
            $table->string('site_title_en')->nullable();
            $table->string('site_title_ch')->nullable();
            $table->string('site_title_hi')->nullable();
            $table->string('site_title_es')->nullable();
            $table->string('site_title_ru')->nullable();
            $table->string('site_title_pt')->nullable();
            $table->string('site_title_fr')->nullable();
            $table->string('site_title_de')->nullable();
            $table->string('site_title_th')->nullable();

            $table->string('site_desc_ar')->nullable();
            $table->string('site_desc_en')->nullable();
            $table->string('site_desc_ch')->nullable();
            $table->string('site_desc_hi')->nullable();
            $table->string('site_desc_es')->nullable();
            $table->string('site_desc_ru')->nullable();
            $table->string('site_desc_pt')->nullable();
            $table->string('site_desc_fr')->nullable();
            $table->string('site_desc_de')->nullable();
            $table->string('site_desc_th')->nullable();

            $table->text('site_keywords_ar')->nullable();
            $table->text('site_keywords_en')->nullable();
            $table->text('site_keywords_ch')->nullable();
            $table->text('site_keywords_hi')->nullable();
            $table->text('site_keywords_es')->nullable();
            $table->text('site_keywords_ru')->nullable();
            $table->text('site_keywords_pt')->nullable();
            $table->text('site_keywords_fr')->nullable();
            $table->text('site_keywords_de')->nullable();
            $table->text('site_keywords_th')->nullable();

            $table->string('site_webmails')->nullable();
            $table->tinyInteger('notify_messages_status')->nullable();
            $table->tinyInteger('notify_comments_status')->nullable();
            $table->tinyInteger('notify_orders_status')->nullable();
            $table->tinyInteger('notify_table_status')->nullable();
            $table->tinyInteger('notify_private_status')->nullable();
            $table->string('site_url')->nullable();
            $table->tinyInteger('site_status');
            $table->text('close_msg')->nullable();
            $table->string('social_link1')->nullable();
            $table->string('social_link2')->nullable();
            $table->string('social_link3')->nullable();
            $table->string('social_link4')->nullable();
            $table->string('social_link5')->nullable();
            $table->string('social_link6')->nullable();
            $table->string('social_link7')->nullable();
            $table->string('social_link8')->nullable();
            $table->string('social_link9')->nullable();
            $table->string('social_link10')->nullable();

            $table->string('contact_t1_ar')->nullable();
            $table->string('contact_t1_en')->nullable();
            $table->string('contact_t1_ch')->nullable();
            $table->string('contact_t1_hi')->nullable();
            $table->string('contact_t1_es')->nullable();
            $table->string('contact_t1_ru')->nullable();
            $table->string('contact_t1_pt')->nullable();
            $table->string('contact_t1_fr')->nullable();
            $table->string('contact_t1_de')->nullable();
            $table->string('contact_t1_th')->nullable();

            $table->string('contact_t3')->nullable();
            $table->string('contact_t4')->nullable();
            $table->string('contact_t5')->nullable();
            $table->string('contact_t6')->nullable();

            $table->string('contact_t7_ar')->nullable();
            $table->string('contact_t7_en')->nullable();
            $table->string('contact_t7_ch')->nullable();
            $table->string('contact_t7_hi')->nullable();
            $table->string('contact_t7_es')->nullable();
            $table->string('contact_t7_ru')->nullable();
            $table->string('contact_t7_pt')->nullable();
            $table->string('contact_t7_fr')->nullable();
            $table->string('contact_t7_de')->nullable();
            $table->string('contact_t7_th')->nullable();

            $table->string('style_logo_ar')->nullable();
            $table->string('style_logo_en')->nullable();
            $table->string('style_logo_ch')->nullable();
            $table->string('style_logo_hi')->nullable();
            $table->string('style_logo_es')->nullable();
            $table->string('style_logo_ru')->nullable();
            $table->string('style_logo_pt')->nullable();
            $table->string('style_logo_fr')->nullable();
            $table->string('style_logo_de')->nullable();
            $table->string('style_logo_th')->nullable();

            $table->string('style_fav')->nullable();;
            $table->string('style_apple')->nullable();
            $table->string('style_color1')->nullable();
            $table->string('style_color2')->nullable();
            $table->tinyInteger('style_type')->nullable();
            $table->tinyInteger('style_bg_type')->nullable();
            $table->string('style_bg_pattern')->nullable();
            $table->string('style_bg_color')->nullable();
            $table->string('style_bg_image')->nullable();
            $table->tinyInteger('style_subscribe')->nullable();
            $table->tinyInteger('style_footer')->nullable();
            $table->tinyInteger('style_header')->nullable();
            $table->string('style_footer_bg')->nullable();
            $table->tinyInteger('style_preload')->nullable();
            $table->longText('css')->nullable();

            $table->integer('created_by')->nullable();
            $table->integer('updated_by')->nullable();
            $table->timestamps();
        });
    }

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