mirror of
https://github.com/arnaucube/commonroutesServer.git
synced 2026-02-28 05:26:42 +01:00
added faircoinString, nseats of travel not required due the askforpackage don't goes with nseats
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user