Add seeders for services, cleanup environment setters

This commit is contained in:
Dane Everitt 2016-09-07 17:48:20 -04:00
parent 41a16d5fdc
commit 05f0f48caf
9 changed files with 487 additions and 10 deletions

View file

@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddUniqueIdentifier extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('services', function (Blueprint $table) {
$table->char('author', 36)->after('id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('services', function (Blueprint $table) {
$table->dropColumn('author');
});
}
}