From 8969c01c13d76d8b4e3e4c6292e41043694d34c6 Mon Sep 17 00:00:00 2001 From: younghyeong ryu Date: Wed, 28 Aug 2024 18:40:24 +0900 Subject: [PATCH] t --- ...2024_07_29_000001_create_all_pondol_bbs_tables.php} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename src/migrations/{2024_07_29_000001_create_all__pondol_bbs_tables.php => 2024_07_29_000001_create_all_pondol_bbs_tables.php} (95%) diff --git a/src/migrations/2024_07_29_000001_create_all__pondol_bbs_tables.php b/src/migrations/2024_07_29_000001_create_all_pondol_bbs_tables.php similarity index 95% rename from src/migrations/2024_07_29_000001_create_all__pondol_bbs_tables.php rename to src/migrations/2024_07_29_000001_create_all_pondol_bbs_tables.php index d478c7a..a4bdd8e 100644 --- a/src/migrations/2024_07_29_000001_create_all__pondol_bbs_tables.php +++ b/src/migrations/2024_07_29_000001_create_all_pondol_bbs_tables.php @@ -162,7 +162,15 @@ public function up() */ public function down() { - Schema::table('articles_files', function($table) { + Schema::table('bbs_categories', function($table) { + $table->dropForeign('bbs_categories_bbs_table_id_foreign'); + }); + + Schema::table('bbs_comments', function($table) { + $table->dropForeign('bbs_comments_bbs_articles_id_foreign'); + }); + + Schema::table('bbs_files', function($table) { $table->dropForeign('bbs_files_bbs_articles_id_foreign'); });