<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 20:07:43 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+10041+AND+labels+%3D+%22unique%22&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+10041+AND+labels+%3D+%22unique%22</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="1" total="1"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DMIG-35] Ignoring unique key</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-35</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;I have a table design style, which has api_id field with unique key&lt;br/&gt;
CREATE TABLE `design_style` (&lt;br/&gt;
  `id` bigint(20) NOT NULL AUTO_INCREMENT,&lt;br/&gt;
  `api_id` varchar(5) COLLATE utf8_unicode_ci NOT NULL,&lt;br/&gt;
  .....&lt;br/&gt;
  PRIMARY KEY (`id`),&lt;br/&gt;
  UNIQUE KEY `api_id` (`api_id`),&lt;br/&gt;
  UNIQUE KEY `name` (`name`),&lt;br/&gt;
  KEY `category_id_idx` (`category_id`),&lt;br/&gt;
  CONSTRAINT `design_style_category_id_design_style_category_id` FOREIGN KEY (`category_id`) REFERENCES `design_style_category` (`id`)&lt;br/&gt;
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci&lt;/p&gt;

&lt;p&gt;I reverse engineered the database tables and created entities. I am using it in symfony2 app.&lt;/p&gt;

&lt;p&gt;Then I executed&lt;br/&gt;
&lt;b&gt;php app/console doctrine:schema:update --dump-sql&lt;/b&gt;&lt;br/&gt;
and also checked with migrations diff&lt;br/&gt;
&lt;b&gt;php app/console doctrine:migrations:diff&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;but has given me &lt;br/&gt;
&lt;b&gt;DROP INDEX api_id ON design_page&lt;/b&gt;&lt;/p&gt;
</description>
                <environment>PHP 5.4.6-2~lucid&lt;br/&gt;
5.1.63-0ubuntu0.10.04.1-log</environment>
            <key id="14021">DMIG-35</key>
            <summary>Ignoring unique key</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="tvgece">venu</reporter>
                        <labels>
                        <label>migrations</label>
                        <label>unique</label>
                    </labels>
                <created>Fri, 7 Sep 2012 15:46:15 +0000</created>
                <updated>Fri, 7 Sep 2012 15:46:15 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>