You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(api): correct syntax and constraints in headlines schema
The server was failing to start due to a syntax error (a missing comma) in the `CREATE TABLE` statement for the `headlines` table.
Additionally, the schema incorrectly defined the `image_url`, `url`, and `published_at` columns as `NOT NULL`, which contradicted the nullable fields in the `Headline` data model.
This change corrects the syntax error and removes the incorrect `NOT NULL` constraints, fully aligning the database schema with the model and resolving the startup failure.
0 commit comments