Foundry and discord bot
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m51s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m51s
This commit is contained in:
@@ -11,7 +11,14 @@ const CampaignSchema = new Schema({
|
||||
required: true
|
||||
},
|
||||
date: { type: Date, default: Date.now},
|
||||
settings: { type: Object }
|
||||
settings: { type: Object },
|
||||
foundryWorldId: { type: String, unique: true, sparse: true },
|
||||
foundryWorldTitle: { type: String },
|
||||
foundrySystem: { type: String },
|
||||
foundrySyncTokenHash: { type: String, select: false },
|
||||
// Discord server ("guild") this campaign is linked to. A campaign serves
|
||||
// at most one guild, and a guild selects one campaign.
|
||||
discordGuildId: { type: String, index: true }
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('Campaign', CampaignSchema);
|
||||
module.exports = mongoose.model('Campaign', CampaignSchema);
|
||||
|
||||
Reference in New Issue
Block a user