users
, where we store all the users of our app, along with their login credentials:id
unsigned
int
auto_increment
primary key
name
varchar
email
varchar
passwordHash
varchar
LoginUser
class, which in turn also extends the Item class just as we learned in the Items guide, so it will be also the Item class that will represent an individual user in your app. Our User
class will start looking like this:userNameFieldName
The name of the field that holds the user name we want our users to identify with.encryptedPasswordFieldName
The name of the field that holds the encrypted password of the users.