snipe-it/database/migrations/2013_11_20_130248_create_status_labels.php

34 lines
684 B
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
use Illuminate\Database\Migrations\Migration;
class CreateStatusLabels extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('status_labels', function ($table) {
$table->increments('id');
$table->string('name', 100)->nullable();
2016-03-25 01:18:05 -07:00
$table->integer('user_id')->nullable();
$table->timestamps();
$table->softDeletes();
$table->engine = 'InnoDB';
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('status_labels');
}
}