mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
6 lines
213 B
CoffeeScript
6 lines
213 B
CoffeeScript
|
mongoose = require('mongoose')
|
||
|
config = require '../../server_config'
|
||
|
ProductSchema = new mongoose.Schema({}, {strict: false,read:config.mongo.readpref})
|
||
|
|
||
|
module.exports = mongoose.model('product', ProductSchema)
|