Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mirera-db
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mirera
mirera-db
Commits
cd5fdfc0
Commit
cd5fdfc0
authored
Sep 13, 2018
by
Никита Бесшапошников
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates for new grids module
parent
fbcba0f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.js
index.js
+3
-3
No files found.
index.js
View file @
cd5fdfc0
...
...
@@ -32,7 +32,7 @@ module.exports = (connectionUri, relaxed) => {
let
files_fs
=
require
(
'
mongoose-gridfs
'
)({
collection
:
'
files
'
,
model
:
'
files
'
,
mongooseConnection
:
connection
.
db
mongooseConnection
:
connection
});
mongoose
.
files
=
files_fs
.
model
;
...
...
@@ -40,7 +40,7 @@ module.exports = (connectionUri, relaxed) => {
let
testing_fs
=
require
(
'
mongoose-gridfs
'
)({
collection
:
'
testing
'
,
model
:
'
testing
'
,
mongooseConnection
:
connection
.
db
mongooseConnection
:
connection
});
mongoose
.
testingFiles
=
testing_fs
.
model
;
...
...
@@ -48,7 +48,7 @@ module.exports = (connectionUri, relaxed) => {
let
solution_fs
=
require
(
'
mongoose-gridfs
'
)({
collection
:
'
solution
'
,
model
:
'
solution
'
,
mongooseConnection
:
connection
.
db
mongooseConnection
:
connection
});
mongoose
.
solutionFiles
=
solution_fs
.
model
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment