Parent: #244
Epic: #15
Severity: Low
Execution mode: AFK
What to build
Remove the public postgres/postgres fallback from AppDbContextDesignTimeFactory. Design-time EF commands currently connect to a predictable local database when CLUCKWORK_MIGRATIONS_CONNECTION is absent and always skip the production TLS floor. That makes an operator typo capable of targeting the wrong database and encourages a known credential.
Require an explicit migration connection. Permit plaintext only for an explicitly acknowledged loopback development target; non-loopback design-time connections must validate server identity using the same connection-string normalization and TLS rules as production migrations.
Acceptance criteria
Blocked by
None.
Parent: #244
Epic: #15
Severity: Low
Execution mode: AFK
What to build
Remove the public postgres/postgres fallback from AppDbContextDesignTimeFactory. Design-time EF commands currently connect to a predictable local database when CLUCKWORK_MIGRATIONS_CONNECTION is absent and always skip the production TLS floor. That makes an operator typo capable of targeting the wrong database and encourages a known credential.
Require an explicit migration connection. Permit plaintext only for an explicitly acknowledged loopback development target; non-loopback design-time connections must validate server identity using the same connection-string normalization and TLS rules as production migrations.
Acceptance criteria
Blocked by
None.