Commit graph

5 commits

Author SHA1 Message Date
GoHorse Deploy
694f6c3313 chore: commit pending changes 2026-02-15 16:03:40 +00:00
Tiago Yamamoto
2ed84f6d56 refactor(seeder): convert to API service and fix SSL connection
- Refactored seeder to Express API with /seed and /reset endpoints
- Updated Dockerfile to run server.js
- Fixed DB connection for managed postgres (stripped sslmode)
- Fixed tags seeder export syntax
- Preserved CLI functionality
2026-01-02 09:19:01 -03:00
Tiago Yamamoto
67c2ccdffe Integrate backend jobs feed into frontend and improve seeder 2025-12-14 20:32:20 -03:00
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
Tiago Yamamoto
1c7ef95c1a first commit 2025-12-09 19:04:48 -03:00