Skip to content

Instantly share code, notes, and snippets.

@alanhoff

alanhoff/schema.js

Created Nov 6, 2014
Embed
What would you like to do?
var SiteSchema = new Mongoose.Schema({
site: String,
newLink: {
tipe: String,
index: {
unique: true
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment