1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- module.exports = [
- {
- connection: 'f',
- identity: 'user',
- tableName: 'user',
- migrate: 'alter',
- attributes: {
- cars: {
- collection: 'car',
- through: 'drive',
- via: 'user'
- }
- }
- },
- {
- connection: 'f',
- identity: 'drive',
- tableName: 'drive',
- migrate: 'alter',
- attributes: {
- car: {
- model: 'car'
- },
- user: {
- model: 'user'
- }
- }
- },
- {
- connection: 'f',
- identity: 'car',
- tableName: 'car',
- migrate: 'alter',
- attributes: {
- drivers: {
- collection: 'user',
- through: 'drive',
- via: 'car'
- }
- }
- }
- ];
|