var mbc            = require('mbc-common'),
    collections    = mbc.config.Common.Collections,
    backboneio     = require('backbone.io'),
    middleware     = new mbc.iobackends().get_middleware()
;

module.exports = function (db) {
    var backends = {
        app: {
            use: [backboneio.middleware.configStore()]
        },
        sketch: {
            use: [middleware.uuid],
            mongo: {
                db: db,
                collection: collections.Sketchs,
            }
        },
        live: {
            use: [backboneio.middleware.memoryStore()]
        }
    }
    return backends;
};

var mbc            = require('mbc-common'),
    collections    = mbc.config.Common.Collections,
    backboneio     = require('backbone.io'),
    middleware     = new mbc.iobackends().get_middleware()
;

module.exports = function (db) {
    var backends = {
        app: {
            use: [backboneio.middleware.configStore()]
        },
        sketch: {
            use: [middleware.uuid],
            mongo: {
                db: db,
                collection: collections.Sketchs,
            }
        },
        live: {
            use: [backboneio.middleware.memoryStore()]
        },
        sketchschedule: {
            use: [middleware.uuid],
            mongo: {
                db: db,
                collection: collections.SketchSchedules,
            }
        },
    }
    return backends;
};

Add schedules collection to backend
Add schedules collection to backend

Signed-off-by: Juan Martin Runge <2e19f93fe0d263e6ab743b7b04f5a1b612584839@gmail.com>
