Skip to content

Instantly share code, notes, and snippets.

View jcowley's full-sized avatar

Jason Cowley jcowley

  • Portland, Oregon
View GitHub Profile
@clouddueling
clouddueling / AccountRole.js
Created June 14, 2014 17:33
Through association with SailsJS. Make sure all references to models are lowercase because that is how they're stored.
module.exports = {
tableName: 'account_roles',
attributes: {
account_id: 'integer',
name: 'string',
description: 'text',
deleted: 'boolean',