Browse Source

added faircoinString, nseats of travel not required due the askforpackage don't goes with nseats

master
arnaucode 7 years ago
parent
commit
f9971ef8e4
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      models/travelModel.js
  2. +1
    -0
      models/userModel.js

+ 1
- 1
models/travelModel.js

@ -22,7 +22,7 @@ var travelSchema = new Schema({
date: { type: Date, required: true }, date: { type: Date, required: true },
periodic: { type: Boolean }, periodic: { type: Boolean },
generateddate: { type: Date }, generateddate: { type: Date },
seats: { type: Number, required: true },
seats: { type: Number },
package: { type: Boolean }, package: { type: Boolean },
collectivized: { type: Boolean }, collectivized: { type: Boolean },
type: { type: String }, //if is an offering travel or asking for travel type: { type: String }, //if is an offering travel or asking for travel

+ 1
- 0
models/userModel.js

@ -10,6 +10,7 @@ var userSchema = new Schema({
token: { type: String, select: false }, token: { type: String, select: false },
description: { type: String, default: "Hello world" }, description: { type: String, default: "Hello world" },
avatar: { type: String, default: "img/avatars/racoon.png" }, avatar: { type: String, default: "img/avatars/racoon.png" },
faircoinString: { type: String, default: "faircoin wallet" },
faircoin: { type: String, default: "img/faircoinpublickey_sample.png" }, faircoin: { type: String, default: "img/faircoinpublickey_sample.png" },
email: { type: String, required: true }, email: { type: String, required: true },
phone: { type: String }, phone: { type: String },

Loading…
Cancel
Save