I have two tables: trips and cities.
A trip should be only between two cities. (from "city A" to "city B").
In trips table, I put 2 foreign keys (city_A and city_B) referencing to "id" of cities table.
I dont know how to design this in laravel to get an optimised code.
I want to know what kind of relationship to use (hasOne or belongsToMany), and how can I retreive cities informations from tripController.