File: /home/mmickelson/spilicensing/database/migrations/2016_03_24_232344_create_purchasers_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePurchasersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('purchasers', function(Blueprint $table)
{
$table->increments('id');
$table->string('contactName');
$table->string('contactEmail');
$table->string('contactPhone');
$table->string('organization');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('purchasers');
}
}