소스 검색

fix: 🐛 Typo

IceToast 3 년 전
부모
커밋
f8c33d43be
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      database/migrations/2022_07_21_234527_add_cancelation_to_servers_table.php

+ 2 - 2
database/migrations/2022_07_21_234527_add_cancelation_to_servers_table.php

@@ -14,7 +14,7 @@ class AddCancelationToServersTable extends Migration
     public function up()
     {
         Schema::table('servers', function (Blueprint $table) {
-            $table->boolean('canceled')->default(false);
+            $table->dateTime('cancelled')->nullable();
         });
     }
 
@@ -26,7 +26,7 @@ class AddCancelationToServersTable extends Migration
     public function down()
     {
         Schema::table('servers', function (Blueprint $table) {
-            $table->dropColumn('canceled');
+            $table->dropColumn('cancelled');
         });
     }
 }