- Fix gateway: add /api/ai route to users_url - Add AI job field generation endpoints (generate-job-field, generate-cover-letter, tailor-resume, auto-apply) - Add AI usage tracking and rate limiting - Add professional auto-respond-to-lead endpoint (30 tracecoins) - Add DB migrations for AI usage tracking tables - Update leads service with AI auto-respond functionality
9 lines
No EOL
232 B
PL/PgSQL
9 lines
No EOL
232 B
PL/PgSQL
BEGIN;
|
|
|
|
ALTER TABLE job_applications DROP COLUMN IF EXISTS applied_via_ai;
|
|
ALTER TABLE job_seeker_profiles DROP COLUMN IF EXISTS has_ai_pack;
|
|
|
|
DROP TABLE IF EXISTS company_ai_usage;
|
|
DROP TABLE IF EXISTS job_seeker_ai_usage;
|
|
|
|
COMMIT; |