summaryrefslogtreecommitdiff
path: root/server/lib/schemas/Layout.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-07 14:58:34 -0400
committerJules Laplace <jules@okfoc.us>2015-08-07 14:58:34 -0400
commita8005cd5db8d24342a6b7d53ccedc9808050eef7 (patch)
tree2ebf7d91f4e136e0f8d37095c12e58d1e81e7a87 /server/lib/schemas/Layout.js
parent387d00aa5c329cfc59f7e940542bf971fa6eecdd (diff)
layouts staff stuff
Diffstat (limited to 'server/lib/schemas/Layout.js')
-rw-r--r--server/lib/schemas/Layout.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/schemas/Layout.js b/server/lib/schemas/Layout.js
index e3f2616..cff1d78 100644
--- a/server/lib/schemas/Layout.js
+++ b/server/lib/schemas/Layout.js
@@ -26,6 +26,8 @@ var LayoutSchema = new mongoose.Schema({
rooms: [mongoose.Schema.Types.Mixed],
startPosition: mongoose.Schema.Types.Mixed,
viewHeight: { type: Number },
+ is_stock: { type: Boolean, default: false },
+ is_pro: { type: Boolean, default: false },
user_id: { type: mongoose.Schema.ObjectId, index: true },
created_at: { type: Date },
updated_at: { type: Date },