mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-27 21:19:09 -05:00
Remove redundant info in Upload model
This commit is contained in:
parent
4887771996
commit
827c4cdbfa
@ -1,11 +1,6 @@
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
var UploadSchema = mongoose.Schema({
|
||||
name: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
|
||||
id: {
|
||||
type: String,
|
||||
unique: true,
|
||||
@ -32,11 +27,6 @@ var UploadSchema = mongoose.Schema({
|
||||
default: Date.now
|
||||
},
|
||||
|
||||
mime: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
|
||||
file: {
|
||||
type: Object,
|
||||
required: true
|
||||
|
Loading…
Reference in New Issue
Block a user