From 721904f7e3197a4a7d9a33a43867d099c7dce420 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Wed, 16 Apr 2025 11:48:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9video=E8=A1=A8des?= =?UTF-8?q?c=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/migrations/20241220072926_create_video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/20241220072926_create_video.php b/database/migrations/20241220072926_create_video.php index 336fe91c..e49b5a0c 100644 --- a/database/migrations/20241220072926_create_video.php +++ b/database/migrations/20241220072926_create_video.php @@ -32,7 +32,7 @@ class CreateVideo extends Migrator $table->addColumn('language_id', 'integer', ['signed' => false , 'null' => false, 'comment' => '语言ID']) ->addColumn('category_id', 'integer', ['signed' => false , 'null' => false, 'comment' => '分类ID']) ->addColumn('name', 'string', ['limit' => 64 , 'null' => false, 'comment' => '名称']) - ->addColumn('desc', 'string', ['limit' => 255, 'null' => true, 'default' => null, 'comment' => '描述信息']) + ->addColumn('desc', 'string', ['limit' => 512, 'null' => true, 'default' => null, 'comment' => '描述信息']) ->addColumn('image', 'string', ['limit' => 125, 'null' => true, 'default' => null, 'comment' => '封面图片']) ->addColumn('video', 'string', ['limit' => 125, 'null' => true, 'default' => null, 'comment' => '视频地址']) ->addColumn('link', 'string', ['limit' => 125, 'null' => true, 'default' => null, 'comment' => '外链地址'])