Skip to content

Commit

Permalink
updated user schema to hold email instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-flynn committed Jul 27, 2023
1 parent 07a0e6c commit cf409ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/userSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const mongoose = require('mongoose');
const { Schema } = mongoose;

const userSchema = new Schema({
username: { type: String, required: true },
email: { type: String, required: true },
beachCode: { type: String, default: 'temp' },
});

Expand Down

0 comments on commit cf409ae

Please sign in to comment.