for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Esse arquivo faz parte do Scheduler,
* uma biblioteca para auxiliar com agendamentos.
*
* @license MIT
* @package H4ad\Scheduler
*/
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateScheduleStatusTable extends Migration
{
* Run the migrations.
* @return void
public function up()
Schema::create(Config::get('scheduler.schedule_status_table'), function (Blueprint $table) {
$table->increments('id');
$table->string('name')->unique();
$table->text('description')->nullable();
$table->timestamps();
$table->softDeletes();
});
}
* Reverse the migrations.
public function down()
Schema::drop(Config::get('scheduler.schedule_status_table'));