Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var UserSchema = [new Schema({
- username: {
- type: String
- },
- email: {
- type: String,
- },
- password: {
- type: String
- },
- ethAddress: {
- type: String
- },
- privateKey: {
- type: String
- },
- transactions: new Schema({
- time: {
- type: String
- },
- date : {
- type: String
- },
- transactionType : {
- type: String
- },
- email : {
- type: String
- },
- amount: {
- type: String
- },
- txHash:{
- type: String
- }
- })]
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement