Database Entity Relationships

A summary of database entities and their relationships in the context-based news retrieval system:

Entity Primary Key Relationship Main Purpose Key Attributes
news_articles id (uuid) Parent table Stores core news article data title, url, publication_date, relevance_score, geo_point
llm_mapping id (uuid) 1:1 with news_articles Stores AI-generated summaries llm_summary
user_events id (uuid) N:1 with news_articles Tracks user interactions article_id, event_type, user location, event_timestamp

1. news_articles

Columns

Indexes