IceToast пре 2 година
родитељ
комит
f8c33d43be

+ 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');
         });
     }
 }