In my scenario, I have the tables of users and teachers, where a teacher has a user, so I have a 1:1 relation.
Migrations:
create_users_table
Schema::create('users', function (Blueprint $table) {
$table->increments('id'...
asked by
07.01.2017 / 01:33