A free open source IT asset/license management system
<?php
use Illuminate\Database\Migrations\Migration;
class CreateLicenseSeatsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('license_seats', function ($table) {
$table->increments('id');
$table->integer('license_id')->nullable();
$table->integer('assigned_to')->nullable();
$table->text('notes')->nullable();
$table->integer('user_id')->nullable();
$table->timestamps();
$table->softDeletes();
$table->engine = 'InnoDB';
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('license_seats');
}
}