water-orm
Version:
A monolith version of Standalone waterline ORM
24 lines (16 loc) • 370 B
JavaScript
var Collection = require('../../../../lib/waterline/collection');
// Extend for testing purposes
var Model = Collection.extend({
identity: 'user',
adapter: 'test',
attributes: {
// deals: {
// collection: 'Deal'
// },
payments: {
collection: 'Payment'
},
name: 'string'
}
});
module.exports = Model;