Multiple Email Addresses
Introduction

Introduction to using Multiple Email Addresses

This feature gives your users the ability to add/use multiple email addresses for their account.

Primary and secondary email addresses?

We assume that every project will require that the user has at least one email address that always exists, this email address we call it the primary email address, and every other email address is called a secondary email address.

Meaning that a user must have only one primary email address and as many secondary email addresses as you want.

How does it work?

Primary email address is stored in users table as normal (Laravel's default) and secondary email addresses are stored in a different table.

Here's how the DB schema looks like:

Hello

Last updated on December 25, 2022