diff --git a/database/migrations/2022_07_21_234527_add_cancelation_to_servers_table.php b/database/migrations/2022_07_21_234527_add_cancelation_to_servers_table.php index b9f75839..15fafb16 100644 --- a/database/migrations/2022_07_21_234527_add_cancelation_to_servers_table.php +++ b/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'); }); } }