<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 17:03:17 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+DMIG+AND+status+%3D+Resolved+ORDER+BY+priority+DESC&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+DMIG+AND+status+%3D+Resolved+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="19" total="19"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DMIG-25] migrating muliple databases</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-25</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;I have 2 databases db1 and db2 in symfony2 + doctrine2 and both databases are different from each other in terms of tables and their fields. &lt;br/&gt;
I need to work on migration. Things work fine as long as there is one database. &lt;br/&gt;
But it does not works when there are more than one databases as it tries to migrate from all files &lt;span class=&quot;error&quot;&gt;&amp;#91;some of which are for db1, and some of them are for db2&amp;#93;&lt;/span&gt;&lt;br/&gt;
Also, is there any way where I can provide entity manager specific migration settings. Or is there any way through which I can provide connection or entity manager in the migration class.&lt;/p&gt;
</description>
                <environment>symfony2</environment>
            <key id="12863">DMIG-25</key>
            <summary>migrating muliple databases</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="saggi18dec">Ajinder Singh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jul 2011 06:32:21 +0000</created>
                <updated>Sat, 17 Mar 2012 10:46:44 +0000</updated>
                    <resolved>Sat, 17 Mar 2012 10:46:44 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17609" author="beberlei" created="Sat, 17 Mar 2012 10:46:44 +0000"  >&lt;p&gt;This is not supported, Migrations works for exactly one database, not more.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-31] $table-&gt;renameColumn() actually drops the column</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-31</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;Tried to use renameColumn() into one of my migration scripts and it dropped the table.&lt;/p&gt;

&lt;p&gt;The code does not seem okay as well:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;namespace Doctrine\DBAL\Schema;
..
class Table extends AbstractAsset
{
..
  /**
    * Rename Column
    *
    * @param string $oldColumnName
    * @param string $newColumnName
    * @return Table
    */
public function renameColumn($oldColumnName, $newColumnName)
{
    $column = $this-&amp;gt;getColumn($oldColumnName);
    $this-&amp;gt;dropColumn($oldColumnName);

    $column-&amp;gt;_setName($newColumnName);
    return $this;
}
..
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>symfony 2.0.7</environment>
            <key id="13297">DMIG-31</key>
            <summary>$table-&gt;renameColumn() actually drops the column</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="nikola.petkanski">Nikola Petkanski</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Dec 2011 08:48:05 +0000</created>
                <updated>Tue, 19 Jun 2012 13:23:07 +0000</updated>
                    <resolved>Mon, 4 Jun 2012 07:26:47 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17373" author="veonik" created="Mon, 6 Feb 2012 22:32:01 +0000"  >&lt;p&gt;Doctrine\DBAL\Schema\Table is actually not a part of Doctrine Migrations, rather just the Database Abstraction Layer project. Recommend this gets sorted as such.&lt;/p&gt;</comment>
                    <comment id="18036" author="dbu" created="Mon, 4 Jun 2012 07:24:03 +0000"  >&lt;p&gt;this is a duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DMIG-22&quot; title=&quot;$table-&amp;gt;renameColumn doesn&amp;#39;t work&quot;&gt;&lt;del&gt;DMIG-22&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;any chances of getting the issue fixed?&lt;/p&gt;</comment>
                    <comment id="18037" author="beberlei" created="Mon, 4 Jun 2012 07:26:38 +0000"  >&lt;p&gt;From the internals this is really complicated. I will delete the method instead.&lt;/p&gt;</comment>
                    <comment id="18098" author="gomox" created="Tue, 19 Jun 2012 13:23:07 +0000"  >&lt;p&gt;Does this mean Doctrine Migrations won&apos;t support renaming columns? I&apos;m sorry but the alternative of not supporting it at all doesn&apos;t really work. It&apos;s a basic operation for DB schema changes, which are the whole point of migrations. What exactly is the proble? I have seen the algorithms for inferring that a column or table should be renamed and they are pretty simplistic. Maybe the solution is adding some sort of hinting to the renameX operations so that there is metadata inside the Table Schemas saying what the original columns or tables were. Thoughts?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-15] Drop not null is not working in Postgres</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-15</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;When removing the not null from a column the migration does not change anything in the database. This is due to the following check on line 162 of lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Pgsql.php&lt;/p&gt;

&lt;p&gt;if ( ! empty($field&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;definition&amp;#39;&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;notnull&amp;#39;&amp;#93;&lt;/span&gt;))&lt;/p&gt;

&lt;p&gt;So if notnull is not there or set to false or &apos;0&apos; or 0 the code does not enter into that if statement and therefore no changes are done to the not null value of the column.&lt;/p&gt;</description>
                <environment>Postgresql 8.4, Symfony 1.4, Doctrine 1.2</environment>
            <key id="12109">DMIG-15</key>
            <summary>Drop not null is not working in Postgres</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="lea">Lea Haensenberger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Nov 2010 07:45:55 +0000</created>
                <updated>Tue, 16 Nov 2010 07:58:13 +0000</updated>
                    <resolved>Tue, 16 Nov 2010 07:58:13 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14753" author="lea" created="Tue, 16 Nov 2010 07:58:13 +0000"  >&lt;p&gt;I recreated the bug report in the doctrine 1 project since it rather belongs there.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-12] createIndexSql and dropIndexSql don&apos;t use the same logic to get the index name</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-12</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;In the class Doctrine_Export the functions for creating and dropping indexes do not use the same logic to get the name of the index to be created or dropped.&lt;/p&gt;

&lt;p&gt;When creating an index $this-&amp;gt;conn-&amp;gt;quoteIdentifier() is called on the index name. &lt;br/&gt;
When dropping an index $this-&amp;gt;conn-&amp;gt;quoteIdentifier($this-&amp;gt;conn-&amp;gt;formatter-&amp;gt;getIndexName()) is called on the name, which by default adds &apos;_idx&apos; to the index name. Hence, when an index should be dropped in a migration an index with that name is not found because it was created without the &apos;_idx&apos;.&lt;/p&gt;

&lt;p&gt;We use the migrations with a Postgres 8.4 database.&lt;/p&gt;</description>
                <environment>Postgres 8.4</environment>
            <key id="12039">DMIG-12</key>
            <summary>createIndexSql and dropIndexSql don&apos;t use the same logic to get the index name</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="lea">Lea Haensenberger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Oct 2010 08:13:09 +0000</created>
                <updated>Tue, 16 Nov 2010 07:57:59 +0000</updated>
                    <resolved>Tue, 16 Nov 2010 07:57:59 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14752" author="lea" created="Tue, 16 Nov 2010 07:57:59 +0000"  >&lt;p&gt;I recreated the bug report in the doctrine 1 project since it rather belongs there.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-10] Syntax error in migration script</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-10</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;The migration script created a php line like this:&lt;/p&gt;

&lt;p&gt;$this-&amp;gt;_addSql(&apos;ALTER TABLE ... DEFAULT &apos;0&apos;&apos;);&lt;/p&gt;

&lt;p&gt;Which creates a syntax error in the php file.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12036">DMIG-10</key>
            <summary>Syntax error in migration script</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="sebastian.hoitz">Sebastian Hoitz</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Oct 2010 14:47:14 +0000</created>
                <updated>Wed, 8 Dec 2010 02:37:33 +0000</updated>
                    <resolved>Wed, 8 Dec 2010 02:37:33 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14932" author="jwage" created="Wed, 8 Dec 2010 02:37:28 +0000"  >&lt;p&gt;This should take care of it&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/migrations/commit/44941f083eea1d321b7d7991a030ee303e9f9037&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/migrations/commit/44941f083eea1d321b7d7991a030ee303e9f9037&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-9] table &quot;contact_attribute&quot; already exists - with mappedSuperClass</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-9</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;I have a class App_Model_Contact_Attribute:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;App_Model_Contact_Attribute:
  type: mappedSuperclass
  inheritanceType: SINGLE_TABLE
  table: contact_attribute
  discriminatorColumn:
    name: type
    type: string
    length: 20
    columnDefinition: &lt;span class=&quot;code-quote&quot;&gt;&quot;varchar(20) not &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;&quot;&lt;/span&gt;
  discriminatorMap:
      emailAddress: App_Model_Contact_EmailAddress
      twitterAccount: App_Model_Contact_TwitterAccount
  id:
    id:
      type: integer
      columnDefinition: &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; unsigned not &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; auto_increment&quot;&lt;/span&gt;
      generator:
        strategy: AUTO
  fields:
    value:
      type: string
      notnull: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
      columnDefinition: &lt;span class=&quot;code-quote&quot;&gt;&quot;varchar(45)&quot;&lt;/span&gt;
  manyToOne:
    contact:
      joinColumn:
        name: contactID
        referencedColumnName: id
        columnDefinition: &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; not &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; unsigned&quot;&lt;/span&gt;
      targetEntity: App_Model_Contact
      fetch: EAGER
      cascade: [persist]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and a class App_Model_Contact_EmailAddress and App_Model_Contact_TwitterAccount. Both yml files look similar to this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;App_Model_Contact_TwitterAccount:
  type: entity
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Now, when I want to execute migrations:diff it always fails giving me the message: &quot;Table contact_attribute already exists&quot;.&lt;/p&gt;

&lt;p&gt;This probably has to do with the mappedSuperClass declaration in my models.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12032">DMIG-9</key>
            <summary>table &quot;contact_attribute&quot; already exists - with mappedSuperClass</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="sebastian.hoitz">Sebastian Hoitz</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Oct 2010 13:19:35 +0000</created>
                <updated>Fri, 26 Nov 2010 04:57:05 +0000</updated>
                    <resolved>Fri, 26 Nov 2010 04:57:05 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14840" author="sebastian.hoitz" created="Fri, 26 Nov 2010 04:57:05 +0000"  >&lt;p&gt;This bug does not seem to occur anymore.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-23] Doctrine migrations MySQL only?</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-23</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;Today I have started with implemention migrations in my project.&lt;br/&gt;
But I found that only MySQL supported.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/**
 * Returns the current migrated version from the versions table.
 *
 * @return bool $currentVersion
 */
  public function getCurrentVersion()
  {
      $this-&amp;gt;createMigrationTable();

      $result = $this-&amp;gt;connection-&amp;gt;fetchColumn(&quot;SELECT version FROM &quot; . $this-&amp;gt;migrationsTableName . &quot; ORDER BY version DESC LIMIT 1&quot;);
      return $result !== false ? (string) $result : &apos;0&apos;;
  }&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In my project I use MSSQL db.&lt;br/&gt;
Do you plan to use platform independent solution?&lt;/p&gt;</description>
                <environment></environment>
            <key id="12825">DMIG-23</key>
            <summary>Doctrine migrations MySQL only?</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="yaroslav">Yaroslav Zenin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jul 2011 10:39:54 +0000</created>
                <updated>Thu, 17 Nov 2011 09:55:48 +0000</updated>
                    <resolved>Thu, 17 Nov 2011 09:55:48 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16846" author="kimhemsoe" created="Wed, 16 Nov 2011 22:37:23 +0000"  >&lt;p&gt;Seem this is already been fixed:&lt;/p&gt;

&lt;p&gt;        $sql = &quot;SELECT version FROM &quot; . $this-&amp;gt;migrationsTableName . &quot; ORDER BY version DESC&quot;;&lt;br/&gt;
        $sql = $this-&amp;gt;connection-&amp;gt;getDatabasePlatform()-&amp;gt;modifyLimitQuery($sql, 1);&lt;br/&gt;
        $result = $this-&amp;gt;connection-&amp;gt;fetchColumn($sql);&lt;br/&gt;
        return $result !== false ? (string) $result : &apos;0&apos;;&lt;/p&gt;


&lt;p&gt;You can skip my PR-52, if you want since. My plan was to fix it with the query builder&lt;/p&gt;</comment>
                    <comment id="16853" author="beberlei" created="Thu, 17 Nov 2011 09:55:48 +0000"  >&lt;p&gt;Was already fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-22] $table-&gt;renameColumn doesn&apos;t work</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-22</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;In my case $table-&amp;gt;renameColumn(&apos;old&apos;, &apos;new&apos;) resulted only in a &quot;drop column &apos;old&apos;&quot;.&lt;/p&gt;</description>
                <environment>php 5.3, current git master</environment>
            <key id="12732">DMIG-22</key>
            <summary>$table-&gt;renameColumn doesn&apos;t work</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="stefanklug">Stefan Klug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Jun 2011 14:37:02 +0000</created>
                <updated>Sat, 30 Jun 2012 07:01:30 +0000</updated>
                    <resolved>Sat, 30 Jun 2012 07:01:30 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18151" author="beberlei" created="Sat, 30 Jun 2012 07:01:29 +0000"  >&lt;p&gt;We removed the function because of that, see reason here &lt;a href=&quot;https://github.com/doctrine/dbal/commit/9b0bd8817cb74c4aefba043c7e59f94641cc5b15&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/commit/9b0bd8817cb74c4aefba043c7e59f94641cc5b15&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-34] Column names not escaped with backticks</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-34</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;Generated from an Entity with a variable named access_key, with a column name of &quot;key&quot;.&lt;/p&gt;

&lt;p&gt;Generated MySQL table constructor fails, name is not escaped with backticks.&lt;/p&gt;</description>
                <environment>MySQL &amp;amp; Linux</environment>
            <key id="13452">DMIG-34</key>
            <summary>Column names not escaped with backticks</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="geusebio">Matthew Baggett</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2012 14:18:21 +0000</created>
                <updated>Wed, 15 Feb 2012 14:32:20 +0000</updated>
                    <resolved>Wed, 15 Feb 2012 14:32:20 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17426" author="beberlei" created="Wed, 15 Feb 2012 14:32:13 +0000"  >&lt;p&gt;This is not a bug, you have to explicitly force escpaing manually by giving @Column(name=&quot;``key`&quot;) in your mapping (or xml/yml equivalent).&lt;/p&gt;

&lt;p&gt;Automatic escaping leads to problems, that is why w edont support it.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-20] migrations try to create an index with name &quot;primary&quot; for ManyToMany associations</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-20</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;For ManyToMany associations, migrations try to create a unique index on (joinColumn, inverseJoinColumn) having name &quot;primary&quot;:&lt;/p&gt;

&lt;p&gt;CREATE UNIQUE INDEX primary ON join_table (joinColumn, inverseJoinColumn);&lt;/p&gt;

&lt;p&gt;Which results in a syntax error on MySQL (primary is also an invalid key name).&lt;/p&gt;</description>
                <environment></environment>
            <key id="12455">DMIG-20</key>
            <summary>migrations try to create an index with name &quot;primary&quot; for ManyToMany associations</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="arnaud-lb">arnaud-lb</reporter>
                        <labels>
                    </labels>
                <created>Sun, 6 Mar 2011 10:17:13 +0000</created>
                <updated>Sun, 26 Jun 2011 11:57:28 +0000</updated>
                    <resolved>Sun, 26 Jun 2011 11:57:28 +0000</resolved>
                                                                    <due></due>
                    <votes>1</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="16063" author="k-fish" created="Sat, 25 Jun 2011 09:43:16 +0000"  >&lt;p&gt;Caused by / related to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-126&quot; title=&quot;schema-tool creates primary keys as unique constraints&quot;&gt;&lt;del&gt;DBAL-126&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16072" author="arnaud-lb" created="Sun, 26 Jun 2011 11:57:28 +0000"  >&lt;p&gt;Fixed by &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-126&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DBAL-126&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-7] migrations:diff could not be found</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-7</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;./doctrine list migrations didn&apos;t list diff although the diff command is added in doctrine.php.&lt;/p&gt;

&lt;p&gt;This could be the problem of configure() in DiffCommand.php. The parent::configure() is called after the the configuration of diff command. So the name etc of the diff command is overwritten by the father class, namely &quot;generate&quot;.&lt;/p&gt;
</description>
                <environment>linux, &lt;a href=&quot;http://svn.github.com/doctrine/migrations.git,&quot;&gt;http://svn.github.com/doctrine/migrations.git,&lt;/a&gt; revision 40</environment>
            <key id="11791">DMIG-7</key>
            <summary>migrations:diff could not be found</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="tiw">Ting Wang</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Aug 2010 04:50:03 +0000</created>
                <updated>Tue, 15 Feb 2011 15:40:14 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 15:40:14 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15313" author="beberlei" created="Tue, 15 Feb 2011 15:40:13 +0000"  >&lt;p&gt;Fixed already&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10744" name="configDiff.patch" size="845" author="tiw" created="Wed, 18 Aug 2010 04:50:03 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-5] migrations:generate incorrect version</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-5</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;in Doctrine/DBAL/Migrations/Tools/Console/Command/GenerateCommand.php&lt;/p&gt;

&lt;p&gt;$version = date(&apos;YmdHms&apos;);&lt;/p&gt;

&lt;p&gt;must be&lt;/p&gt;

&lt;p&gt;$version = date(&apos;YmdHis&apos;);&lt;/p&gt;</description>
                <environment>Linux Ubuntu</environment>
            <key id="11534">DMIG-5</key>
            <summary>migrations:generate incorrect version</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="tvlooy">Tom Van Looy</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Jun 2010 10:55:48 +0000</created>
                <updated>Tue, 15 Feb 2011 15:37:39 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 15:37:39 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15312" author="beberlei" created="Tue, 15 Feb 2011 15:37:39 +0000"  >&lt;p&gt;Fixed already.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-4] Case sensitive include</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-4</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;in:&lt;br/&gt;
&lt;a href=&quot;http://github.com/doctrine/migrations/blob/master/lib/Doctrine/DBAL/Migrations/Configuration/Configuration.php&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/migrations/blob/master/lib/Doctrine/DBAL/Migrations/Configuration/Configuration.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;use Doctrine\Dbal\Connection,&lt;br/&gt;
    Doctrine\DBAL\Migrations\MigrationException,&lt;br/&gt;
    Doctrine\DBAL\Migrations\Version,&lt;br/&gt;
    Doctrine\DBAL\Migrations\OutputWriter,&lt;br/&gt;
    Doctrine\Dbal\Schema\Table,&lt;br/&gt;
    Doctrine\Dbal\Schema\Column,&lt;br/&gt;
    Doctrine\DBAL\Types\Type;&lt;/p&gt;

&lt;p&gt;This can&apos;t be upper/lowercase. DBAL must be in uppercase every time.&lt;/p&gt;</description>
                <environment>Linux Ubuntu </environment>
            <key id="11520">DMIG-4</key>
            <summary>Case sensitive include</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="tvlooy">Tom Van Looy</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jun 2010 04:07:19 +0000</created>
                <updated>Fri, 18 Jun 2010 12:00:28 +0000</updated>
                    <resolved>Fri, 18 Jun 2010 12:00:28 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13364" author="jwage" created="Fri, 18 Jun 2010 12:00:28 +0000"  >&lt;p&gt;Fixed issue with case in use statement &lt;a href=&quot;http://github.com/doctrine/migrations/commit/eda8b0b0ee9f9bddb7b73ee956d2106e26b80794&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/migrations/commit/eda8b0b0ee9f9bddb7b73ee956d2106e26b80794&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-3] AbstractCommand depends on ORM Package</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-3</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;The Abstractcommand uses the Entity Manager instead of accessing the DBAL Connection directly through the helperset. This makes it impossible to use migrations without the ORM.&lt;/p&gt;

&lt;p&gt;The ORM however is only of any interest in the DiffCommand, the other commands don&apos;t need access to any EM related functionality.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11503">DMIG-3</key>
            <summary>AbstractCommand depends on ORM Package</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jun 2010 07:49:49 +0000</created>
                <updated>Wed, 16 Jun 2010 08:01:41 +0000</updated>
                    <resolved>Wed, 16 Jun 2010 08:01:41 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-2] Creating columns of typ SET fails to set default value</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-2</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;When writing a migration class for a table I wanted to add a new column of the SET type. I&apos;ve set the notnull option and a default value, but Doctrine fails to generate the correct SQL.&lt;/p&gt;

&lt;p&gt;Migration function:&lt;br/&gt;
	public function up()&lt;/p&gt;
	{
		$options = array(
			&apos;type&apos; =&amp;gt; &apos;set&apos;,
			&apos;notnull&apos; =&amp;gt; 1,
			&apos;size&apos; =&amp;gt; 10,
			&apos;values&apos; =&amp;gt; array(
				&apos;value_a&apos;,
				&apos;value_b&apos;,
				&apos;value_c&apos;,
			),
			&apos;default&apos; =&amp;gt; &apos;value_a
		);
		$this-&amp;gt;addColumn(&apos;my_table&apos;, &apos;new_field&apos;, &apos;set&apos;, Null, $options);
	}

&lt;p&gt;MySQL error (contains the generated SQL):&lt;br/&gt;
 Error #1 - SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;42000&amp;#93;&lt;/span&gt;: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &apos;NOT NULL&apos; at line 1. Failing Query: &quot;ALTER TABLE my_table ADD new_field SET(&apos;value_a&apos;, &apos;value_b&apos;, &apos;value_c&apos;) DEFAULT  NOT NULL&quot;&lt;/p&gt;

&lt;p&gt;After a bit of debugging I&apos;ve found the problem, Doctrine_Formatter::quote() doesn&apos;t know how to handle set. Simply adding &apos;set&apos; to the switch right below &apos;enum&apos; will make it work as it should.&lt;/p&gt;

&lt;p&gt;&amp;#8212; lib/Doctrine/Formatter.php&lt;br/&gt;
+++ lib/Doctrine/Formatter.php&lt;br/&gt;
@@ -186,6 +186,7 @@ class Doctrine_Formatter extends Doctrine_Connection_Module&lt;br/&gt;
         case &apos;blob&apos;:&lt;br/&gt;
         case &apos;clob&apos;:&lt;br/&gt;
         case &apos;enum&apos;:&lt;br/&gt;
+        case &apos;set&apos;:&lt;br/&gt;
         case &apos;boolean&apos;:&lt;br/&gt;
         return &quot;&apos;&quot; . str_replace(&quot;&apos;&quot;,&quot;&apos;&apos;&quot;,$input) . &quot;&apos;&quot;;&lt;br/&gt;
         }&lt;/p&gt;</description>
                <environment>Doctrine 1.2.2&lt;br/&gt;
MySQL 5.0.45&lt;br/&gt;
PHP 5.2.5</environment>
            <key id="11458">DMIG-2</key>
            <summary>Creating columns of typ SET fails to set default value</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="fredrik_w">Fredrik</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Jun 2010 07:24:19 +0000</created>
                <updated>Tue, 8 Jun 2010 13:32:04 +0000</updated>
                    <resolved>Tue, 8 Jun 2010 08:32:01 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13135" author="fredrik_w" created="Tue, 8 Jun 2010 07:26:24 +0000"  >&lt;p&gt;I hope I put this into the right project, wasn&apos;t sure if this belonged in &quot;Doctrine 1&quot; but this project is called &quot;Doctrine Migrations&quot; so here it went.&lt;/p&gt;</comment>
                    <comment id="13136" author="jwage" created="Tue, 8 Jun 2010 08:32:36 +0000"  >&lt;p&gt;This is actually for the Doctrine 2 Migrations project. The Doctrine 1 migrations were a part of the actual Doctrine 1 library. Everything was all coupled together in Doctrine 1. We only split things up for Doctrine 2.&lt;/p&gt;</comment>
                    <comment id="13172" author="fredrik_w" created="Tue, 8 Jun 2010 12:39:27 +0000"  >&lt;p&gt;Oh, I&apos;m sorry. Should I create a new issue under Doctrine 1 to have it fixed there?&lt;/p&gt;</comment>
                    <comment id="13174" author="jwage" created="Tue, 8 Jun 2010 13:32:04 +0000"  >&lt;p&gt;No, I already fixed the issue. Just for future reference &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-39] Issue when using serjal columns in PostgreSQL with Doctrine ORM Identity fields</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-39</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;When using Doctrine ORM mapping fields like this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    /**
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; integer
     *
     * @ORM\Column(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;, type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;, nullable=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy=&lt;span class=&quot;code-quote&quot;&gt;&quot;IDENTITY&quot;&lt;/span&gt;)
     * @ORM\SequenceGenerator(sequenceName=&lt;span class=&quot;code-quote&quot;&gt;&quot;schemaname.tablename_id_seq&quot;&lt;/span&gt;, allocationSize=1, initialValue=1)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; $id;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It first creates the migration perfectly as a serial column with the correct schema.&lt;/p&gt;

&lt;p&gt;However when making a new migration diff it generates DROP statements for every sequence for these id, so we have to remove them manually every time.&lt;/p&gt;
</description>
                <environment>PostgreSQL and migrations</environment>
            <key id="14804">DMIG-39</key>
            <summary>Issue when using serjal columns in PostgreSQL with Doctrine ORM Identity fields</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="josdewitte">jos de witte</reporter>
                        <labels>
                        <label>postgresql</label>
                        <label>schematool</label>
                    </labels>
                <created>Wed, 24 Apr 2013 10:50:40 +0000</created>
                <updated>Wed, 24 Apr 2013 11:30:57 +0000</updated>
                    <resolved>Wed, 24 Apr 2013 11:30:57 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20098" author="ocramius" created="Wed, 24 Apr 2013 11:30:57 +0000"  >&lt;p&gt;This is a DBAL problem. &lt;/p&gt;

&lt;p&gt;Please verify this with the DBAL diff tools (latest master) only and eventually report a DBAL issue without involving migrations.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-40] DBAL Enum fields migration issue / PostgreSQL</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-40</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;When using Custom Doctrine DBAL Enums the migration created using diff&lt;/p&gt;

&lt;p&gt;works fine the first time.&lt;/p&gt;

&lt;p&gt;However the next time it generates a SQL statement trying to change to field type to INT from integer;  (Redundant)&lt;br/&gt;
and a truncated statement:&lt;/p&gt;

&lt;p&gt;&quot;ALTER schemaname.fieldname SET&quot; .. And that&apos;s it.&lt;/p&gt;
</description>
                <environment>PostgreSQL and migrations</environment>
            <key id="14805">DMIG-40</key>
            <summary>DBAL Enum fields migration issue / PostgreSQL</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="josdewitte">jos de witte</reporter>
                        <labels>
                        <label>postgresql</label>
                        <label>schematool</label>
                    </labels>
                <created>Wed, 24 Apr 2013 10:53:03 +0000</created>
                <updated>Wed, 24 Apr 2013 11:36:09 +0000</updated>
                    <resolved>Wed, 24 Apr 2013 11:36:09 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20099" author="ocramius" created="Wed, 24 Apr 2013 11:36:09 +0000"  >&lt;p&gt;This is a DBAL issue. Please verify the issue using the DBAL schema tools (latest master) only and eventually open a DBAL issue.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-11] Comparer always detects changes when using columnDefinition in mapping definitions</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-11</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;The migration diff command always thinks that my model definitions have changed, when I use the manual columnDefinition on a timestamp column:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    dateUpdated:
      type: datetime
      columnDefinition: TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This always results in a migration script like this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&amp;lt;?php

namespace SuplifyApiMigrations;

use Doctrine\DBAL\Migrations\AbstractMigration,
    Doctrine\DBAL\Schema\Schema;

class Version20101028121948 &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; AbstractMigration
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function up(Schema $schema)
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_addSql(&apos;ALTER TABLE ticket CHANGE dateUpdated dateUpdated TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL&apos;);
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function down(Schema $schema)
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_addSql(&apos;ALTER TABLE ticket CHANGE dateUpdated dateUpdated DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL&apos;);
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As you can see, the columns look exactly the same. Doctrine just does not seem to parse the manual columnDefinition and compare its result.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12038">DMIG-11</key>
            <summary>Comparer always detects changes when using columnDefinition in mapping definitions</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="sebastian.hoitz">Sebastian Hoitz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Oct 2010 06:21:22 +0000</created>
                <updated>Tue, 15 Feb 2011 15:34:53 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 15:34:53 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15311" author="beberlei" created="Tue, 15 Feb 2011 15:34:53 +0000"  >&lt;p&gt;Its not possible to fix this issue, its actually a drawback of using &quot;columnDefinition&quot;, i started documenting this in the ORM docs.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DMIG-16] incorrect class name</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-16</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/projects/migrations/2.0/docs/reference/introduction/en#introduction&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/migrations/2.0/docs/reference/introduction/en#introduction&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$helperSet = new \Symfony\Components\Console\Helper\HelperSet(array(&lt;br/&gt;
    &apos;db&apos; =&amp;gt; new \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($db),&lt;br/&gt;
    &apos;dialog&apos; =&amp;gt; new \Symfony\Components\Console\Helper\DialogHelper(),&lt;br/&gt;
));&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;bug in &quot;\Symfony\Component_s_\Console\Helper\DialogHelper&quot; =&amp;gt; &quot;\Symfony\Component\Console\Helper\DialogHelper()&quot;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12304">DMIG-16</key>
            <summary>incorrect class name</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="stfalcon">Stepan Tanasiychuk</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Jan 2011 15:33:29 +0000</created>
                <updated>Tue, 15 Feb 2011 15:42:42 +0000</updated>
                    <resolved>Tue, 15 Feb 2011 15:42:42 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15314" author="beberlei" created="Tue, 15 Feb 2011 15:42:42 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>