Привет! Я работаю над сбросом пароля с помощью раздела администратора на моем веб-сайте, но сейчас у меня возникла проблема. На самом деле я не знаю, как сравнить две таблицы друг с другом, и если они совпадают, то как сохранить этот запрос вдругой стол.Вот схема обеих таблиц.Таблица пользователей
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('weight');
$table->string('height');
$table->string('gender');
$table->date('dob');
$table->rememberToken();
$table->timestamps();
});
Забыть запрос пароля Таблица
Schema::create('Forgot_Passwords', function (Blueprint $table) {
$table->increments('id');
$table->string('email');
$table->string('password');
$table->string('weight');
$table->string('height');
$table->rememberToken();
$table->timestamps();
});
Я должен сопоставить электронную почту, вес и рост обеих таблиц друг с другом.