#1539: Missing documentation on drivers and data types
-----------------------------------+----------------------------------------
Reporter: jtaal | Owner: jwage
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Documentation | Version: 1.0.2
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
I'm missing documentation on which driver chooses which data type.
For example, the mysql driver uses a bigint for primary keys by default.
I was trying to force doctrine to use int instead of bigint so I specified
a length of 11 (which is what mysql calls length for an integer field).
I should've used length 4 (as in bytes), which is probably the best option
for portable applications.
However, I had to RTFC to find this out. I couldn't find this in the docs
anywhere!!
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1539>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---