Skip to content

Commit a0e7b29

Browse files
committed
Add files property to gameSchema: related resources
1 parent f2c86da commit a0e7b29

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The following fields are appreciated, but not strictly required:
7373
| devWebsite | Developer personal website/page | String |
7474
| onlineplay | Allow or not the game to be played directly on the website | Boolean |
7575
| wip | Flag a game as work-in-progress (not yet completely stable/bugfree) | Boolean |
76-
76+
| files | Related files with (optional) description | Array of 2-d Arrays (`[['file1.zip', 'description of file1.zip'],['file2.zip', 'description of file2.zip']]`)|
7777

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

schema.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ var gameSchema = mongoose.Schema({
2121
gameWebsite : String,
2222
devWebsite : String,
2323
onlineplay : Boolean,
24-
wip : Boolean
24+
wip : Boolean,
25+
files : [Array]
2526

2627
}
2728
});

0 commit comments

Comments
 (0)