Skip to content

Instantly share code, notes, and snippets.

@heddn
Last active April 6, 2016 21:15
Show Gist options
  • Save heddn/a5a6a925c4367a087f696e9f141611f1 to your computer and use it in GitHub Desktop.
Save heddn/a5a6a925c4367a087f696e9f141611f1 to your computer and use it in GitHub Desktop.
// From Migration->transform():
return [
0 => 9,
]
// And what get's set to destination property:
return [
0 => [0 => 9],
1 => [0 => 10],
]
// What it should set:
[
0 => 9,
1 => 10,
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment