2
0
visuddhinanda 2 жил өмнө
parent
commit
977a17b69c

+ 2 - 2
database/migrations/2024_01_20_024558_add_fork_in_sentences.php

@@ -15,7 +15,7 @@ class AddForkInSentences extends Migration
     {
         Schema::table('sentences', function (Blueprint $table) {
             //
-            $table->integer('fork')->index()->default(0);
+            $table->dateTime('fork_at')->nullable()->index();
             $table->integer('collaborator')->index()->default(0);
         });
     }
@@ -29,7 +29,7 @@ class AddForkInSentences extends Migration
     {
         Schema::table('sentences', function (Blueprint $table) {
             //
-            $table->dropColumn('fork');
+            $table->dropColumn('fork_at');
             $table->dropColumn('collaborator');
         });
     }