mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #984] [MERGED] Use boolean values for 'unique' attribute #8998
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/984
Author: @holtkamp
Created: 3/20/2014
Status: ✅ Merged
Merged: 3/23/2014
Merged by: @beberlei
Base:
master← Head:patch-1📝 Commits (2)
ef4e73fUse boolean values for 'unique' attribute6e651b1Added test to ensure boolean metadata is properly exported/serialized to XML📊 Changes
2 files changed (+22 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Tools/Export/AbstractClassMetadataExporterTest.php(+21 -0)📄 Description
As defined in: https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L294
Same as 'nullable' attribute.
It was being exported as a "1" for TRUE and "0" for false
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.