D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
almahero.online
/
database
/
migrations
/
Filename :
2022_04_15_093248_create_homes_table.php
back
Copy
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('homes', function (Blueprint $table) { $table->id(); $table->text('banner_mini_words_title')->nullable(); $table->string('banner_first_line_title')->nullable(); $table->string('banner_second_line_title')->nullable(); $table->text('banner_second_line_changeable_words')->nullable(); $table->string('banner_third_line_title')->nullable(); $table->text('banner_subtitle')->nullable(); $table->string('banner_first_button_name')->nullable(); $table->text('banner_first_button_link')->nullable(); $table->string('banner_second_button_name')->nullable(); $table->text('banner_second_button_link')->nullable(); $table->string('banner_image')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('homes'); } };