This commit is contained in:
2023-12-01 11:27:52 +05:00
parent 32dad6b8a7
commit d6fd71e0dd

View File

@@ -11,6 +11,7 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
Schema::dropIfExists('tests');
Schema::create('tests', function (Blueprint $table) { Schema::create('tests', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('phone')->nullable(); $table->string('phone')->nullable();
@@ -23,6 +24,6 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('test'); Schema::dropIfExists('tests');
} }
}; };