浏览代码

fix: 🐛 Typo

IceToast 2 年之前
父节点
当前提交
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()
     public function up()
     {
     {
         Schema::table('servers', function (Blueprint $table) {
         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()
     public function down()
     {
     {
         Schema::table('servers', function (Blueprint $table) {
         Schema::table('servers', function (Blueprint $table) {
-            $table->dropColumn('canceled');
+            $table->dropColumn('cancelled');
         });
         });
     }
     }
 }
 }