Relationship between tables Create the father table php artisan mak:mig create_migration_card_table --create=cards Create the child table php artisan mak:mig create_migration_card_table --create=notes Relationship Create the foreign key in the child table $table->integer('card_id')->unsigned()->index(); Create the Model php artisan make:model Note php artisan make:model Card Shortcut In this way we can create the model and the migration at the same time php artisan make:model <Class> -m Refresh DB php artisan migrate:refresh Using Eloquent In the father class (Model) add a method to get the childs public function notes (){ return $this-> hasMany ( <Class>::class ); } In the child class (Model) add the next method to get the father public function card(){ ...