Просмотр файла app/migration.php

Размер файла: 956B
<?php

if (config('APP_NEW') === false) {
    $migrations = BASEDIR . '/database/upgrades';
} else {
    $migrations = BASEDIR . '/database/' . (setting('app_installed') ? 'upgrades' : 'migrations');
}

return [
    'paths' => [
        'migrations' => $migrations,
        'seeds'      => BASEDIR . '/database/seeds',
    ],
    'environments' => [
        'default_migration_table' => 'migrations',
        'default_database'        => 'default',
        'default' => [
            'adapter'      => config('DB_DRIVER'),
            'charset'      => config('DB_CHARSET'),
            'collation'    => config('DB_COLLATION'),
            'port'         => config('DB_PORT'),
            'host'         => config('DB_HOST'),
            'name'         => config('DB_DATABASE'),
            'user'         => config('DB_USERNAME'),
            'pass'         => config('DB_PASSWORD'),
            'table_prefix' => config('DB_PREFIX'),
        ]
    ]
];