From 9dbc38e2cabc13c8c5e0c0dbc9cfb39e2155fc10 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 19 Dec 2023 18:25:21 +0000 Subject: [PATCH] Drop the down() Signed-off-by: snipe --- .../migrations/2015_11_05_183749_add_image_to_assets.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/database/migrations/2015_11_05_183749_add_image_to_assets.php b/database/migrations/2015_11_05_183749_add_image_to_assets.php index 73bb41a879..598f71aa5b 100644 --- a/database/migrations/2015_11_05_183749_add_image_to_assets.php +++ b/database/migrations/2015_11_05_183749_add_image_to_assets.php @@ -38,10 +38,8 @@ class AddImageToAssets extends Migration public function down() { - Schema::table('assets', function ($table) { - if (Schema::hasColumn('assets', 'image')) { - $table->dropColumn('image'); - } - }); + /** + * I'm leaving this one out, since it could destroy data that was already long-existing. + */ } }