Created
February 18, 2022 09:35
-
-
Save yvesbou/6f7ddc387de0439fff46e5d6b70e5e90 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const mongoose = require("mongoose"); | |
const { Schema } = mongoose; | |
const erc20CoinSchema = new Schema({ | |
name: { | |
type: String, | |
trim: true | |
} | |
}); | |
const ERC20Coin = mongoose.model("ERC20Coin", erc20CoinSchema); | |
module.exports = { ERC20Coin }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment