From de675607e546c52c369024a6551c867b0b01eeb1 Mon Sep 17 00:00:00 2001 From: askdkc Date: Mon, 19 Dec 2022 12:30:02 +0900 Subject: [PATCH] Add Drop Table to migration file --- database/migrations/create_csv_imports_table.php.stub | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/database/migrations/create_csv_imports_table.php.stub b/database/migrations/create_csv_imports_table.php.stub index 84b4ab5..ef17336 100644 --- a/database/migrations/create_csv_imports_table.php.stub +++ b/database/migrations/create_csv_imports_table.php.stub @@ -20,4 +20,14 @@ return new class extends Migration $table->timestamps(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('csv_imports'); + } };