attachment feature #10
This commit is contained in:
1 parent
ab242b10f2
commit
c556ab59b5
26 files changed
+1197
-135
No files matched your search
@@ -36,6 +36,7 @@ var Suggestions *mgo.Collection
|
||||
// Album & file(image)
|
||||
var Albums *mgo.Collection
|
||||
var Files *mgo.Collection
|
||||
var Attachs *mgo.Collection
|
||||
|
||||
var NoteImages *mgo.Collection
|
||||
|
||||
@@ -106,6 +107,7 @@ func Init() {
|
||||
// Album & file
|
||||
Albums = Session.DB(dbname).C("albums")
|
||||
Files = Session.DB(dbname).C("files")
|
||||
Attachs = Session.DB(dbname).C("attachs")
|
||||
|
||||
NoteImages = Session.DB(dbname).C("note_images")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user