var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var config = require('../../config.js');

this.rawFeedModel = {
	timestamp: {type: Date, default: Date.now},
	text: String
};

var rawFeedSchema = new Schema(this.rawFeedModel);
this.rawFeed = mongoose.model('rawFeed', rawFeedSchema);
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var config = require('../../config.js');

this.rawFeedModel = {
	timestamp: {type: Date, default: Date.now},
	text: String,
	feedSource: {type: String, enum: ['Twitter', 'Email']}
};

var rawFeedSchema = new Schema(this.rawFeedModel);
this.rawFeed = mongoose.model('rawFeed', rawFeedSchema);

Add data source property to raw feed object
Add data source property to raw feed object
