fixed schema import for artifact

This commit is contained in:
Martin Guether 2017-04-07 10:39:24 +02:00
parent 7ff2926578
commit d887d56dd3

View File

@ -3,7 +3,7 @@
var mongoose = require('mongoose'); var mongoose = require('mongoose');
var Schema = mongoose.Schema; var Schema = mongoose.Schema;
module.exports.artifactSchema = mongoose.model('Artifact', { module.exports.artifactSchema = Schema({
mime: String, mime: String,
thumbnail_uri: String, thumbnail_uri: String,
space_id: Schema.Types.ObjectId, space_id: Schema.Types.ObjectId,