浏览代码

custom_fields

peterguo 1 周之前
父节点
当前提交
c57ffbca86

+ 2 - 2
database/migrations/tenant/2025_03_17_113521_add_custom_fields_to_task_container_file_table.php

@@ -10,7 +10,7 @@ return new class extends Migration {
      */
     public function up(): void
     {
-        Schema::table('task', function (Blueprint $table) {
+        Schema::table('tasks', function (Blueprint $table) {
             $table->json('custom_fields')->nullable()->comment("自定义字段");
         });
         Schema::table('files', function (Blueprint $table) {
@@ -23,7 +23,7 @@ return new class extends Migration {
 
     public function down(): void
     {
-        Schema::table('task', function (Blueprint $table) {
+        Schema::table('tasks', function (Blueprint $table) {
             $table->dropColumn('custom_fields');
         });
         Schema::table('files', function (Blueprint $table) {