How make Laravel Migration for one to many and one to one for same table
I have a problem to make migration with relationship. case : 1 Department will have many Employees 1 Employee belongTo 1 Department 1 Department will have one manager (from employees table) Here is my migration Schema::create('departments', function (Blueprint $table) {…