gohorsejobs/seeder-api/src
Tiago Yamamoto aab2de7534 fix(seeder): add SSL support and fix foreign key violations
- Add SSL configuration to database pool supporting DB_SSLMODE=require
- Fix user seeder FK violations by using RETURNING clause to get actual IDs
- Update all user creation queries (superadmin, company admins, candidates)
- Ensure correct user_id references when ON CONFLICT DO UPDATE occurs

This fixes the seeder hanging issue and foreign key constraint violations
that were preventing successful database population.
2025-12-11 19:36:37 -03:00
..
seeders fix(seeder): add SSL support and fix foreign key violations 2025-12-11 19:36:37 -03:00
db.js fix(seeder): add SSL support and fix foreign key violations 2025-12-11 19:36:37 -03:00
index.js first commit 2025-12-09 19:04:48 -03:00
inspect_schema.js first commit 2025-12-09 19:04:48 -03:00
migrate.js first commit 2025-12-09 19:04:48 -03:00
run_migration.js first commit 2025-12-09 19:04:48 -03:00