2016-03-29 12:02:06 +02:00

5 lines
247 B
Plaintext
Executable File

// 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 %>')