UNPKG

waterline-postgresql

Version:
43 lines (35 loc) 768 B
const Waterline = require('waterline') module.exports = { NormalModel: Waterline.Collection.extend({ identity: 'normalmodel', connection: 'edgetests', dynamicFinders: false, associationFinders: false, attributes: { name: 'string' } }), NoisyModel: Waterline.Collection.extend({ identity: 'noisymodel', connection: 'edgetests', dynamicFinders: false, associationFinders: false, // noise description: 'hello', noise: { foo: 'bar' }, attributes: { id: { type: 'integer', primaryKey: true, autoIncrement: true }, name: 'string', identity: 'string', attributes: 'json', //noise: 'json', description: 'string' } }) }