water-orm
Version:
A monolith version of Standalone waterline ORM
26 lines (18 loc) • 391 B
JavaScript
var Collection = require('../../../../lib/waterline/collection');
// Extend for testing purposes
var Model = Collection.extend({
identity: 'user',
adapter: 'test',
attributes: {
customer: {
model: 'Customer'
}
// deal: {
// model: 'Deal'
// },
// amount: {
// type: 'float'
// }
}
});
module.exports = Model;