| 1 | Index: ModelGlue/unity/orm/ReactorAdapter.cfc |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- ModelGlue/unity/orm/ReactorAdapter.cfc (revision 316) |
|---|
| 4 | +++ ModelGlue/unity/orm/ReactorAdapter.cfc (working copy) |
|---|
| 5 | @@ -112,7 +112,7 @@ |
|---|
| 6 | <cfset md[fields[i].alias].comment = dict.getValue("#arguments.table#.#fields[i].alias#.comment") /> |
|---|
| 7 | |
|---|
| 8 | <cfif fields[i].primaryKey> |
|---|
| 9 | - <cfset arrayAppend(result.primaryKeys, fields[i].name) /> |
|---|
| 10 | + <cfset arrayAppend(result.primaryKeys, fields[i].alias) /> |
|---|
| 11 | </cfif> |
|---|
| 12 | |
|---|
| 13 | |
|---|