Add discord(twitter) embed settings to the user model

This commit is contained in:
Lee 2022-11-17 11:24:43 +00:00
parent f9de76328f
commit 2679fc31c0
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

@ -10,6 +10,14 @@ const schema = new Schema({
salt: String, // The salt the password was hashed with
uploadKey: String, // The users upload key for ShareX
lastLoginDate: Date, // The last time the user logged in
// User Settings
discordEmbed: {
embed: Boolean,
title: String,
description: String,
color: String,
},
});
export default mongoose.models.User || mongoose.model("User", schema);