mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 04:15:02 +00:00
feat(v5): gate V5 to development environments only
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.
This commit is contained in:
1 parent
1cb1d028de
commit
d0247d3b09
45 files changed
+273
-218
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Support\V5\V5Feature;
|
||||
|
||||
return [
|
||||
'enabled' => V5Feature::enabledForEnvironment((string) env('APP_ENV', 'production')),
|
||||
];
|
||||
Reference in new issue
Block a user