Skip to content

Commit

Permalink
Add files property to gameSchema: related resources
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Jan 16, 2018
1 parent f2c86da commit a0e7b29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The following fields are appreciated, but not strictly required:
| devWebsite | Developer personal website/page | String |
| onlineplay | Allow or not the game to be played directly on the website | Boolean |
| wip | Flag a game as work-in-progress (not yet completely stable/bugfree) | Boolean |

| files | Related files with (optional) description | Array of 2-d Arrays (`[['file1.zip', 'description of file1.zip'],['file2.zip', 'description of file2.zip']]`)|

The possible categories are: `RPG`, `Open Source`, `Adventure`, `Action`, `Puzzle`, `Platform`.

Expand Down
3 changes: 2 additions & 1 deletion schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ var gameSchema = mongoose.Schema({
gameWebsite : String,
devWebsite : String,
onlineplay : Boolean,
wip : Boolean
wip : Boolean,
files : [Array]

}
});

0 comments on commit a0e7b29

Please sign in to comment.