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): fully align headlines schema and seeder with model
The `headlines` table schema incorrectly contained a `content` column not present in the `Headline` model. Additionally, the seeder logic was not robustly handling all nullable fields (like `image_url`), causing a "Missing variable" crash.
This change removes the `content` column from the schema and `INSERT` statement. It also updates the seeder to ensure all optional fields from the model are present in the parameter map. This fully aligns the database layer with the data model and resolves the final startup error.
0 commit comments