| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class CreateScheduleStatusTable extends Migration |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Run the migrations. |
||
| 20 | * |
||
| 21 | * @return void |
||
| 22 | */ |
||
| 23 | public function up() |
||
| 24 | { |
||
| 25 | Schema::create(Config::get('scheduler.schedule_status_table'), function (Blueprint $table) { |
||
| 26 | $table->increments('id'); |
||
| 27 | $table->string('name')->unique(); |
||
| 28 | $table->text('description')->nullable(); |
||
| 29 | $table->timestamps(); |
||
| 30 | $table->softDeletes(); |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Reverse the migrations. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function down() |
||
| 42 | } |
||
| 43 | } |