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

This commit is contained in:
arnaucode
2017-07-11 22:34:45 +02:00
parent 4c1ddb6243
commit f9971ef8e4
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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 },