<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 15:53:45 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/si/jira.issueviews:issue-xml/DBAL-77/DBAL-77.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DBAL-77] Mysql Numeric / Decimal fields</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-77</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;class product {&lt;br/&gt;
/**&lt;br/&gt;
*Column(type=&quot;decimal&quot;, scale=&quot;2&quot;)&lt;br/&gt;
*&lt;br/&gt;
*/&lt;br/&gt;
private $discount;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;generate SQL &lt;/p&gt;

&lt;p&gt;create table product {&lt;br/&gt;
discount DECIMAL(10,2) NOT NULL&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;if you have a field in a database type DECIMAL doctrine tries to &lt;br/&gt;
generate for him diff &lt;/p&gt;

&lt;p&gt;doctrine orm:schema-tool&lt;br/&gt;
&amp;gt; &lt;br/&gt;
ALTER TABLE product CHANGE discrount discrount NUMERIC (10, 2) NOT NULL &lt;/p&gt;


&lt;p&gt;but mysql ignore the alter, as a result of these diff stretch from &lt;br/&gt;
migration to migration&lt;/p&gt;</description>
                <environment>mysql 5.1.49 for debian-linux-gnu (x86_64), Ubuntu 10.10 Doctrine DBAL Beta4 Doctrine ORM Beta4 Doctrine Common RC1</environment>
            <key id="12226">DBAL-77</key>
            <summary>Mysql Numeric / Decimal 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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="7">Can&apos;t Fix</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="eugeneiso">Eugene</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Dec 2010 15:35:46 +0000</created>
                <updated>Fri, 4 Jan 2013 19:05:48 +0000</updated>
                    <resolved>Thu, 15 Mar 2012 22:15:55 +0000</resolved>
                            <version>2.0.0-BETA4</version>
                <version>2.0</version>
                <version>2.0.1</version>
                                                        <due></due>
                    <votes>2</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="14965" author="beberlei" created="Mon, 13 Dec 2010 16:10:43 +0000"  >&lt;p&gt;This is fixed in RC1 or RC2.&lt;/p&gt;</comment>
                    <comment id="15152" author="eugeneiso" created="Thu, 20 Jan 2011 04:28:59 +0000"  >&lt;p&gt;checked for the version of doctrine 2.1.0-DEV&lt;br/&gt;
result is the same&lt;/p&gt;</comment>
                    <comment id="15200" author="extesy" created="Mon, 31 Jan 2011 17:08:41 +0000"  >&lt;p&gt;I have the same issue with the latest doctrine build. Please fix it because it makes schema migration scripts dirty with redundant changes.&lt;/p&gt;</comment>
                    <comment id="15456" author="beberlei" created="Fri, 4 Mar 2011 17:29:28 +0000"  >&lt;p&gt;I cannot reproduce this, does this happen if you also specify precision=10 ?&lt;/p&gt;</comment>
                    <comment id="17600" author="asm89" created="Thu, 15 Mar 2012 22:15:55 +0000"  >&lt;p&gt;Closing until someone can provide more feedback.&lt;/p&gt;</comment>
                    <comment id="19215" author="jsimpson" created="Fri, 4 Jan 2013 19:05:47 +0000"  >&lt;p&gt;I am seeing this bug for a definition specified as:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Column(type=&quot;decimal&quot;, precision=20, scale=0, nullable=false, unique=true)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Doctrine Command Line Interface version 2.3.2-DEV&lt;/p&gt;

</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>