nxtgauge-backend-rust/crates/db/migrations/20260425000000_ai_usage.down.sql
Tracewebstudio Dev aa71ccdf36 Add AI endpoints and gateway route fix
- 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
2026-05-01 02:54:42 +02:00

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;