Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
core
/
database
/
migrations
:
2020_10_13_123757_create_settings_table.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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('language_id')->nullable(); $table->string('theme_version')->nullable(); $table->string('website_title')->nullable(); $table->string('base_color')->nullable(); $table->string('header_logo')->nullable(); $table->string('footer_logo')->nullable(); $table->string('fav_icon')->nullable(); $table->string('breadcrumb_image')->nullable(); $table->string('number')->nullable(); $table->string('email')->nullable(); $table->string('contactemail')->nullable(); $table->string('address')->nullable(); $table->text('footer_text')->nullable(); $table->text('meta_keywords')->nullable(); $table->text('meta_description')->nullable(); $table->string('copyright_text')->nullable(); $table->text('messenger')->nullable(); $table->text('disqus')->nullable(); $table->text('add_this_status')->nullable(); $table->text('facebook_pexel')->nullable(); $table->text('google_analytics')->nullable(); $table->string('announcement', 255)->nullable(); $table->decimal('announcement_delay', 11, 2)->default(0.00); $table->text('maintainance_text')->nullable(); $table->text('slider_overlay')->nullable(); $table->text('tawk_to')->nullable(); $table->binary('cookie_alert_text')->nullable(); $table->string('google_recaptcha_site_key')->nullable(); $table->string('google_recaptcha_secret_key')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('settings'); } }