coolify/database
Andras Bacsai 466eb8504e refactor(models): extract defaultStandaloneDockerAttributes method on Server
Extract duplicated inline StandaloneDocker attribute arrays in the
Server boot lifecycle into a dedicated method, eliminating repetition
between the root-server (id=0) and normal-server paths.

Also harden the shared_environment_variables migration by wrapping
DDL statements in DB::transaction() and using DROP CONSTRAINT IF EXISTS
to make the migration safely re-runnable.

Add unit test covering the extracted method to verify uuid is always
present in bootstrap attributes.
2026-03-31 14:44:45 +02:00
..
factories test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
migrations refactor(models): extract defaultStandaloneDockerAttributes method on Server 2026-03-31 14:44:45 +02:00
schema test: add Pest browser testing with SQLite :memory: schema 2026-02-11 15:25:47 +01:00
seeders Merge remote-tracking branch 'origin/next' into pr-7764-shadow/add-shared-server-env 2026-03-31 10:52:31 +02:00
.gitignore init of v4 🌮 2023-03-17 15:33:48 +01:00