Skip to content

Instantly share code, notes, and snippets.

@sevifives
Created February 3, 2012 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sevifives/1731458 to your computer and use it in GitHub Desktop.
Save sevifives/1731458 to your computer and use it in GitHub Desktop.
var CompanySchema = new CoreRecord({
name: String,
ips: [String],
reports: [{type: CoreRecord.ObjectId, ref: 'Report'}]
});
exports.Company = CoreScrappy.model('Company',CompanySchema);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment