{
username: {
type: String,
index: true,
unique: true
},
password: {
type: String
},
role: {
type: String,
enum: ['ADMIN', 'COMMON']
},
}
Here are the data that already exist when running this project.
ADMIN
username = admin
password = admin
USER
username = user
password = user