File: /home/mmickelson/spilicensing/database/migrations/2016_03_24_232345_create_systems_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateSystemsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('systems', function(Blueprint $table)
{
$table->increments('id');
$table->string('systemId')->index('systemId');
$table->string('systemType');
$table->string('systemVer');
$table->string('product');
$table->string('hostApp');
$table->string('hostVer');
$table->string('prodVer');
$table->string('subproduct');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('systems');
}
}