| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CreateStatusesTable extends Migration |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Run the migrations. |
||
| 14 | * |
||
| 15 | * @return void |
||
| 16 | */ |
||
| 17 | public function up() |
||
| 18 | { |
||
| 19 | Schema::create('statuses', function (Blueprint $table) { |
||
| 20 | $table->increments('id'); |
||
| 21 | $table->string('name'); |
||
| 22 | $table->text('description'); |
||
| 23 | $table->string('color_rgb'); |
||
| 24 | $table->string('unique_name'); |
||
| 25 | $table->timestamps(); |
||
| 26 | $table->softDeletes(); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Reverse the migrations. |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function down() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |