Add soft delete to locations - migration

This commit is contained in:
snipe
2013-11-20 07:28:34 -05:00
parent aa34c4a4dd
commit 595f151ff9
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddSoftDeleteOnLocations extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('locations', function($table)
{
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}