mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 06:29:47 -08:00
35 lines
684 B
PHP
Executable file
35 lines
684 B
PHP
Executable file
<?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();
|
|
$table->integer('user_id')->nullable();
|
|
$table->timestamps();
|
|
$table->softDeletes();
|
|
$table->engine = 'InnoDB';
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::drop('status_labels');
|
|
}
|
|
|
|
}
|