Answer the question
In order to leave comments, you need to log in
How to fix db error?
Guys, can you please tell me step by step how to fix the error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'artist_id' in 'field list' (SQL: select `id`, `name`, `artist_id`, `updated_at` from `albums` where `fully_scraped` = 1 or `spotify_id` is null
Answer the question
In order to leave comments, you need to log in
You can do this:
select `id`, `name`, `updated_at` from `albums` where `fully_scraped` = 1 or `spotify_id` is null
Although you need to understand what you meant by the phrase "fix the error" - fix the query or fix the table in the database.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question