Created
December 8, 2021 11:55
-
-
Save Hkazanci93/c6e04aad1e90407742be703272cfc473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let schema = new Schema(Album, { | |
artist: { type: 'string' }, | |
title: { type: 'string' }, | |
year: { type: 'number' }, | |
genres: { type: 'array' }, | |
outOfPublication: { type: 'boolean' } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment