Skip to content

Commit

Permalink
feat: store position in sequence (NoMercy235/cyoa-frontend#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMercy235 committed Mar 21, 2020
1 parent 8bae81d commit 4ec8fd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/sequence.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const schema = new mongoose.Schema(
scenePic: { type: String, default: null },
hasScenePic: { type: Boolean },
order: { type: Number, default: 0 },
x: { type: Number, default: 0 },
y: { type: Number, default: 0 },

story: { type: String, ref: STORY },
chapter: { type: String, ref: CHAPTER, default: '' },
Expand Down

0 comments on commit 4ec8fd7

Please sign in to comment.