63 lines
2.1 KiB
PHP
63 lines
2.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateTblSettingsTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('tbl_settings', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->string('title')->nullable();
|
|
$table->text('description')->nullable();
|
|
$table->string('url1')->nullable();
|
|
$table->string('url2')->nullable();
|
|
$table->string('email')->nullable();
|
|
$table->string('phone')->nullable();
|
|
$table->string('secondary_phone')->nullable();
|
|
$table->text('google_map')->nullable();
|
|
$table->string('fb')->nullable();
|
|
$table->string('insta')->nullable();
|
|
$table->string('twitter')->nullable();
|
|
$table->string('tiktok')->nullable();
|
|
$table->string('primary_logo')->nullable();
|
|
$table->string('secondary_logo')->nullable();
|
|
$table->string('thumb')->nullable();
|
|
$table->string('icon')->nullable();
|
|
$table->string('og_image')->nullable();
|
|
$table->string('no_image', 250)->nullable();
|
|
$table->string('copyright_text', 250)->nullable();
|
|
$table->text('content1')->nullable();
|
|
$table->text('content2')->nullable();
|
|
$table->text('content3')->nullable();
|
|
$table->string('seo_title')->nullable();
|
|
$table->text('seo_description')->nullable();
|
|
$table->text('seo_keywords')->nullable();
|
|
$table->text('og_tags')->nullable();
|
|
$table->integer('display_order')->default(0);
|
|
$table->integer('status')->default(11);
|
|
$table->timestamps();
|
|
$table->integer('createdby');
|
|
$table->integer('updatedby');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('tbl_settings');
|
|
}
|
|
}
|
|
|