|
|
@@ -17,7 +17,7 @@ return new class extends Migration
|
|
17
|
17
|
$table->id();
|
|
18
|
18
|
$table->foreignId('news_category_id')->references('id')->on('news_categories')->comment('文章類別');
|
|
19
|
19
|
$table->string('news_img')->nullable()->comment('列表圖');
|
|
20
|
|
- $table->json('news_img_alt')->nullable()->comment('列表圖 ALT');
|
|
|
20
|
+ $table->string('news_img_alt')->nullable()->comment('列表圖 ALT');
|
|
21
|
21
|
$table->json('title')->comment("標題");
|
|
22
|
22
|
$table->json('description')->nullable()->comment("短文");
|
|
23
|
23
|
$table->json('written_by')->comment("編輯人");
|