5 lines
247 B
Plaintext
Raw Normal View History

2016-03-18 11:12:50 +01:00
// Make a "one-to-many" relationship between `<%= attribute %>` and the `<%= details.column %>`
// column from the `<%= details.collection %>` table.
table.integer('<%= attribute %>').references('<%= details.collection %>.<%= details.column %>')