mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1027] [MERGED] Support for Partial Indexes for PostgreSql and Sqlite #9049
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/1027
Author: @PowerKiKi
Created: 5/7/2014
Status: ✅ Merged
Merged: 11/5/2014
Merged by: @Ocramius
Base:
master← Head:feature-partial-indexes📝 Commits (4)
eeb7ff4Support for Partial Indexes for PostgreSql and Sqlite27adf8dRefactor partial into options arraybb5345bAdapt formatting to pre-existing content1003466Surround ! with spaces according to code style📊 Changes
15 files changed (+140 additions, -83 deletions)
View changed files
📝
docs/en/reference/annotations-reference.rst(+14 -0)📝
doctrine-mapping.xsd(+47 -45)📝
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(+9 -1)📝
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php(+16 -11)📝
lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php(+15 -10)📝
lib/Doctrine/ORM/Mapping/Index.php(+5 -0)📝
lib/Doctrine/ORM/Mapping/UniqueConstraint.php(+5 -0)📝
lib/Doctrine/ORM/Tools/SchemaTool.php(+3 -3)📝
tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php(+8 -7)📝
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.Comment.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.User.php(+2 -2)📝
tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.ORM.Mapping.Comment.dcm.xml(+5 -1)📝
tests/Doctrine/Tests/ORM/Mapping/xml/Doctrine.Tests.ORM.Mapping.User.dcm.xml(+5 -1)📝
tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.Comment.dcm.yml(+2 -0)📝
tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.User.dcm.yml(+3 -1)📄 Description
Support for Partial Indexes was available in Doctrine 1 following
http://www.doctrine-project.org/jira/browse/DC-82. This commit
reintroduce support for Doctrine 2. We use the same syntax with an
optionnal "where" attribute for Index and UniqueConstraint.
It is unit-tests covered and documented in manual. This Pull Request depends on https://github.com/doctrine/dbal/pull/600. So they should both be merged or rejected together.
Thanks for your time !
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.