Files
monica/database/migrations/2016_11_01_015957_add_icon_column.php
T
Régis Freyd a2172f0851 Add style CI (#503)
Hopefully this will result in slightly better code.
2017-07-26 21:02:55 -04:00

30 lines
489 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Migrations\Migration;
class AddIconColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('activity_types', function ($table) {
$table->string('icon')->after('key');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}