mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
Added all files
This commit is contained in:
6
node_modules/mongoose/examples/express/connection-sharing/modelA.js
generated
vendored
Normal file
6
node_modules/mongoose/examples/express/connection-sharing/modelA.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
var Schema = require('../../../lib').Schema;
|
||||
var mySchema = Schema({ name: String });
|
||||
|
||||
// db is global
|
||||
module.exports = db.model('MyModel', mySchema);
|
||||
Reference in New Issue
Block a user