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');
|
2021-06-10 13:15:52 -07:00
|
|
|
$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');
|
|
|
|
}
|
|
|
|
}
|