start adding firebase

This commit is contained in:
Matteo Pagliazzi
2015-09-04 16:50:58 +02:00
parent 6d91a1905a
commit f5f19d146e
3 changed files with 7 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ var async = require('async');
var logging = require('../logging');
var Challenge = require('./../models/challenge').model;
// NOTE any change to groups' members in MongoDB will have to be run through the API
// changes made directly to the db will cause Firebase to get out of sync
var GroupSchema = new Schema({
_id: {type: String, 'default': shared.uuid},
name: String,