Consider using the airport IDs in the airports table rather than using the ICAO codes in the departure and arrival JSON objects in both the flight_requests and archived_flights tables. The same logic can be applied to both but some research will need to be done to see how eloquent arrays and relationships work together
Consider using the airport IDs in the
airports
table rather than using the ICAO codes in the departure and arrival JSON objects in both theflight_requests
andarchived_flights
tables. The same logic can be applied to both but some research will need to be done to see how eloquent arrays and relationships work together