| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class CreateParametresTable extends Migration |
||
| 21 | { |
||
| 22 | private stdClass $config; |
||
| 23 | |||
| 24 | public function __construct() |
||
| 25 | { |
||
| 26 | $this->config = (object) config('parametres'); |
||
| 27 | $this->group = $this->config->database['group'] ?? 'default'; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritDoc} |
||
| 32 | */ |
||
| 33 | public function up(): void |
||
| 45 | }); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | public function down(): void |
||
| 54 | } |
||
| 55 | } |
||
| 56 |