Skip to content

Instantly share code, notes, and snippets.

View santosh-suresh's full-sized avatar

Santosh Suresh santosh-suresh

View GitHub Profile
var mongoose = require('mongoose');
mongoose.connect('localhost', 'testing_multiTenant');
/**
* User schema.
*/
var UserSchema = new mongoose.Schema({
name: String
, prefix: { type: String, required: true }
@santosh-suresh
santosh-suresh / README.md
Created November 15, 2016 17:19 — forked from felipegasparini/README.md
Ecto Postgres tsrange data type