From 7a2b07ca4daa45a34119bfecfd5f1281a1de9250 Mon Sep 17 00:00:00 2001 From: gouki Date: Mon, 7 Sep 2026 19:40:34 +0000 Subject: [PATCH] fix(migrations): articles.description/keywords to text for sablog legacy data --- database/migrations/2026_08_11_100000_create_blog_tables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2026_08_11_100000_create_blog_tables.php b/database/migrations/2026_08_11_100000_create_blog_tables.php index 3d0cf36..a301718 100644 --- a/database/migrations/2026_08_11_100000_create_blog_tables.php +++ b/database/migrations/2026_08_11_100000_create_blog_tables.php @@ -23,8 +23,8 @@ return new class extends Migration $table->string('title'); $table->longText('content'); $table->string('content_format', 16)->default('html'); - $table->string('description')->nullable(); - $table->string('keywords')->nullable(); + $table->text('description')->nullable(); + $table->text('keywords')->nullable(); $table->timestamp('published_at')->nullable(); $table->unsignedBigInteger('views')->default(0); $table->unsignedInteger('comments_count')->default(0);