Updating Translations from the Command Line
Hi all, as usual I assume I'm misunderstanding something basic about how Laravel works, but I have been stuck trying to update existing translations directly with data from a Console Command. I'm trying to back-fill some missing information that I'm scraping from HTML files.
I have tried several different combinations of querying the database to get the existing record and updating it, but nothing seems to work. I can verify that the entry I'm trying to update exists in the database, but when I try to
This is my current attempt to query out the existing entries. Not sure how to update the model that this returns.
I have tried several different combinations of querying the database to get the existing record and updating it, but nothing seems to work. I can verify that the entry I'm trying to update exists in the database, but when I try to
update() or save() I just don't get any results, and don't get any errors.This is my current attempt to query out the existing entries. Not sure how to update the model that this returns.