technical reasons, the implementation would be much more difficult
otherwise.


On Thu, Jan 9, 2014 at 11:36 PM, Marco Pivetta <[email protected]> wrote:

> The primary key is the only way to actually reference an entity: an
> entity's identifier is actually what distinguishes every entity's instance.
>
> Other fields may happen to be unique, but don't have the same meaning of
> the identifier.
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On 9 January 2014 23:28, Anthony Topper <[email protected]> wrote:
>
>> I am trying to migrate my application from using integer IDs to using
>> UUIDs.
>>
>> I am currently in a state where I have both because a complete migration
>> all at once is not feasible.  I want to do a mapping on my UUID field.  I
>> am getting the following schema validation error:
>>
>> * The referenced column name 'uuid' has to be a primary key column on the
>> target entity class 'Object'.
>>
>> This seems arbitrary to me as I can't think of a technical reason why
>> this limitation would exist.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to