for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/**
* Class CreateEmailsTable
*/
class CreateStatusesTable extends Migration
{
* Run the migrations.
*
* @return void
public function up()
Schema::create('statuses', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->text('description');
$table->string('color_rgb');
$table->string('unique_name');
$table->timestamps();
$table->softDeletes();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('statuses');