mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
3
node_modules/mongoose/examples/express/connection-sharing/modelA.js
generated
vendored
3
node_modules/mongoose/examples/express/connection-sharing/modelA.js
generated
vendored
@@ -1,6 +1,5 @@
|
||||
|
||||
var Schema = require('../../../lib').Schema;
|
||||
var mySchema = Schema({ name: String });
|
||||
|
||||
// db is global
|
||||
/* global db */
|
||||
module.exports = db.model('MyModel', mySchema);
|
||||
|
||||
Reference in New Issue
Block a user