mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
35 lines
526 B
PHP
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');
|
|
}
|
|
|
|
}
|