summaryrefslogtreecommitdiff
path: root/server/lib/schemas/Blueprint.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-18 20:08:44 -0400
committerJules Laplace <jules@okfoc.us>2015-08-18 20:08:44 -0400
commit62a8127787c1ed2f0ae420722be9327e421633bd (patch)
tree71f4e148ab6bdf5c09806db7ffa94b8724285120 /server/lib/schemas/Blueprint.js
parent40fa450839a171cbfa1d9c8470d25eeeba337a27 (diff)
serialize/deserialize
Diffstat (limited to 'server/lib/schemas/Blueprint.js')
-rw-r--r--server/lib/schemas/Blueprint.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/lib/schemas/Blueprint.js b/server/lib/schemas/Blueprint.js
index 40e67d8..78a388f 100644
--- a/server/lib/schemas/Blueprint.js
+++ b/server/lib/schemas/Blueprint.js
@@ -29,7 +29,7 @@ var BlueprintSchema = new mongoose.Schema({
type: Number,
default: 0
},
- title: {
+ name: {
type: String,
default: ""
},
@@ -44,7 +44,10 @@ var BlueprintSchema = new mongoose.Schema({
heightDimension: { type: Number },
units: { type: String },
line: { type: String },
-
+
+ rooms: [mongoose.Schema.Types.Mixed],
+ startPosition: mongoose.Schema.Types.Mixed,
+
user_id: { type: mongoose.Schema.ObjectId, index: true },
created_at: { type: Date },
});