Added label for setting readability

This commit is contained in:
snipe
2013-11-22 03:17:19 -05:00
parent da93fb18b8
commit 60b577166a
@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddOptionLabelToSettingsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('settings', function($table)
{
$table->string('option_label','80')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('settings', function($table)
{
$table->dropColumn('option_label');
});
}
}