diff --git a/database/migrations/2023_11_27_225730_create_test_table.php b/database/migrations/2023_11_27_225730_create_test_table.php index 2353766..20c9791 100644 --- a/database/migrations/2023_11_27_225730_create_test_table.php +++ b/database/migrations/2023_11_27_225730_create_test_table.php @@ -11,6 +11,7 @@ return new class extends Migration */ public function up(): void { + Schema::dropIfExists('tests'); Schema::create('tests', function (Blueprint $table) { $table->id(); $table->string('phone')->nullable(); @@ -23,6 +24,6 @@ return new class extends Migration */ public function down(): void { - Schema::dropIfExists('test'); + Schema::dropIfExists('tests'); } };