As we mentioned earlier, this is the table where we will store our app user's information. Here is how the customer table will look like:
The table consists of the following ten columns:
- id: This is the unique ID for each customer.
- firstname: This is the first name of the customer.
- lastname: This is the last name of the customer.
- email: This is the customer's email.
- pass: This is the password for the customer. This field must be stored in a hashed form.
- cc_customerid: This is an ID that represents the credit card of the customer. We'll cover this field later in this chapter.
- loggedin: This flag specifies whether the user ...