D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
medica-plus.online
/
database
/
migrations
/
Filename :
2025_11_06_185319_create_seo_meta_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('seo_meta_info', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('seoable_type'); $table->unsignedBigInteger('seoable_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('seo_meta_info'); } };