- Reorganized project structure into services/ and apps/ directories for better separation of concerns - Added comprehensive CI/CD pipeline with GitHub Actions for testing and Docker builds - Created .dockerignore file to optimize container builds - Updated Makefile with new targets for each service and application - Added detailed README with architecture overview, setup instructions and development guidelines - Moved cron-analyzer to dedicate
14 lines
530 B
SQL
14 lines
530 B
SQL
CREATE TABLE IF NOT EXISTS job_analysis_results (
|
|
id BIGSERIAL PRIMARY KEY,
|
|
job_id BIGINT NOT NULL,
|
|
analysis_result TEXT NOT NULL,
|
|
match_score INTEGER,
|
|
key_skills TEXT[],
|
|
missing_skills TEXT[],
|
|
recommendations TEXT,
|
|
analyzed_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
FOREIGN KEY (job_id) REFERENCES jobs(id) ON DELETE CASCADE
|
|
);
|
|
|
|
CREATE INDEX idx_job_analysis_results_job_id ON job_analysis_results(job_id);
|
|
CREATE INDEX idx_job_analysis_results_match_score ON job_analysis_results(match_score);
|