I am creating an API with Laravel where I am trying to populate a table in a database based on saved data in another table in the database. So after table 1 dat