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 new file mode 100644 index 0000000000..598f71aa5b --- /dev/null +++ b/database/migrations/2015_11_05_183749_add_image_to_assets.php @@ -0,0 +1,45 @@ +text('image')->after('notes')->nullable()->default(null); + } + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + + /** + * I'm leaving this one out, since it could destroy data that was already long-existing. + */ + } +} diff --git a/database/migrations/2015_11_05_183749_image.php b/database/migrations/2015_11_05_183749_image.php deleted file mode 100644 index 0582b852aa..0000000000 --- a/database/migrations/2015_11_05_183749_image.php +++ /dev/null @@ -1,32 +0,0 @@ -text('image')->after('notes')->nullable()->default(null); - // - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('assets', function ($table) { - $table->dropColumn('image'); - }); - } -}