mirror of
https://github.com/coollabsio/coolify.git
synced 2026-08-28 02:24:23 -05:00
Introduce V5Feature and config so V5 routes, jobs, commands, morph maps, and model queries run only when enabled. Move V5 migrations to migrations-v5 (loaded only when enabled), remove Flux from production Docker/install paths, and add isolation tests.
8 lines
140 B
PHP
8 lines
140 B
PHP
<?php
|
|
|
|
use App\Support\V5\V5Feature;
|
|
|
|
return [
|
|
'enabled' => V5Feature::enabledForEnvironment((string) env('APP_ENV', 'production')),
|
|
];
|