What’s the danger of having indexes in the database that are not reflected in 
the entity?

I never had any problem with this so far!

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Nima Sadjadi
Sent: 30 December 2014 20:32
To: [email protected]
Subject: RE: [doctrine-user] Custom index / foreign key names?

 

Even if you let doctrine set indices on FKs in your db or you set indices 
manually, you still need to add indices in entity files. If you don't know how 
to have indices on entity files, after doctrine set indices on FKs in your db 
or you did set them manually to avoid hashed-names, backup your entity files 
and generate new entity files via console, look at files and you'll see how 
indices are in entity files, then add them in your actual entity files you did 
backup before.

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "doctrine-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/doctrine-user/xgtklOuok0A/unsubscribe.
To unsubscribe from this group and all its topics, 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/d/optout.

-- 
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/d/optout.

Reply via email to