mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
5 lines
247 B
Plaintext
5 lines
247 B
Plaintext
![]() |
|
||
|
// 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 %>')
|