Docs for autoincrement and composite identifiers
This commit is contained in:
parent
713a49a075
commit
77a69bc57e
@ -0,0 +1,2 @@
|
||||
Autoincrement primary key is the most basic identifier and its usage is strongly encouraged. Sometimes you may want to use some other name than 'id'
|
||||
for your autoinc primary key. It can be specified as follows:
|
@ -0,0 +1,4 @@
|
||||
Composite primary key can be used efficiently in association tables (tables that connect two components together). It is not recommended
|
||||
to use composite primary keys in anywhere else as Doctrine does not support mapping relations on multiple columns.
|
||||
<br \><br \>
|
||||
Due to this fact your doctrine-based system will scale better if it has autoincremented primary key even for association tables.
|
Loading…
Reference in New Issue
Block a user