1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Added note about table naming, fixed some spelling and file naming errors as well

This commit is contained in:
amadeus 2006-09-18 15:09:28 +00:00
parent bb2a1312ed
commit 906b1fa666
4 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Doctrine automatically creates table names from the record class names. For this reason, it is recommended to name your record classes using the following rules:
<ul>
<li>Use CamelCase naming</li>
<li>Underscores are allowed</li>
<li>The first letter must be capitalized</li>
</ul>
Example. My_PerfectClass
<br />
If you need to use a different naming schema, you can override this using the setTableName() method in the setTableDefinition() method.