Created
April 20, 2019 06:03
-
-
Save Oscar-zw/5a5ce5c3cda3eb7f90c1472d858a0755 to your computer and use it in GitHub Desktop.
fruit schema para Nest.js app
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
import { Schema } from "mongoose" | |
export const FruitSchema = new Schema({ | |
name: String, | |
color: String, | |
price: Number | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment