ac64a5db75
* Migrate all configs into the env.php file #1075 * Style fixes * Fix config names in CreateConfig * Fix installer/installer error messages
22 lines
377 B
PHP
22 lines
377 B
PHP
<?php
|
|
|
|
use App\Contracts\Migration;
|
|
use App\Services\Installer\ConfigService;
|
|
|
|
/**
|
|
* Migrate the configuration files
|
|
*/
|
|
class MigrateConfigs extends Migration
|
|
{
|
|
public function up()
|
|
{
|
|
/** @var ConfigService $configSvc */
|
|
$configSvc = app(ConfigService::class);
|
|
$configSvc->rewriteConfigFiles();
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
}
|
|
}
|