#1690: MSSQL driver incorrectly sets Primary key field to allow NULL
------------------------------------+---------------------------------------
Reporter: denpet | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone:
Component: Connection | Version: 1.1-DEV
Keywords: mssql primary key null | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
------------------------------------+---------------------------------------
1. generate-models-yaml omits the notnull when primary: true, (I guess to
prevent anyone from setting notnull: false on it)
2. crate-tables for MSSQL will generate SQL Code that default all fields
without notnull set to allow NULL, including primary fields.
The MSSQL driver should default primary field to either omit the NULL
setting, or explicitly set it to NOT NULL
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1690>
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
-~----------~----~----~----~------~----~------~--~---