mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Drop the down()
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ab2c85778a
commit
9dbc38e2ca
|
@ -38,10 +38,8 @@ class AddImageToAssets extends Migration
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
|
|
||||||
Schema::table('assets', function ($table) {
|
/**
|
||||||
if (Schema::hasColumn('assets', 'image')) {
|
* I'm leaving this one out, since it could destroy data that was already long-existing.
|
||||||
$table->dropColumn('image');
|
*/
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue