Added filename to log

This commit is contained in:
snipe
2013-12-01 06:45:03 -05:00
parent 45f46466d7
commit bee260b1f0
@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddFilenameToAssetLog extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::table('asset_logs', function($table)
{
$table->text('filename')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
Schema::table('asset_logs', function($table)
{
$table->dropColumn('filename');
});
}
}