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