Skip to content

Commit f5da6a2

Browse files
author
eino
committed
added contentful_id to event schema
1 parent 4bcf1af commit f5da6a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/modules/event/model.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ const Schema = mongoose.Schema;
55
const publicFieldsPlugin = require("../../common/plugins/publicFields");
66

77
const EventSchema = new Schema({
8+
contentful_id: {
9+
type: String,
10+
required: true
11+
},
812
name: {
913
type: String,
1014
required: true

0 commit comments

Comments
 (0)