D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
euphoriahub.store
/
database
/
migrations
/
Filename :
2024_05_26_152339_create_product_seos_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. */ public function up(): void { Schema::create('product_seos', function (Blueprint $table) { $table->id(); $table->integer('product_id'); $table->string('title')->nullable(); $table->string('description')->nullable(); $table->string('index')->nullable(); $table->string('no_follow')->nullable(); $table->string('no_image_index')->nullable(); $table->string('no_archive')->nullable(); $table->string('no_snippet')->nullable(); $table->string('max_snippet')->nullable(); $table->string('max_snippet_value')->nullable(); $table->string('max_video_preview')->nullable(); $table->string('max_video_preview_value')->nullable(); $table->string('max_image_preview')->nullable(); $table->string('max_image_preview_value')->nullable(); $table->string('image')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('product_seos'); } };