snipe-it/database/migrations/2015_09_22_000104_create_custom_fieldsets.php
2016-03-25 01:18:05 -07:00

35 lines
526 B
PHP

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCustomFieldsets extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('custom_fieldsets', function(Blueprint $table)
{
$table->increments('id');
$table->string('name');
$table->engine = 'InnoDB';
//
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('custom_fieldsets');
}
}