<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 18 22:35:57 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/DMIG-26/DMIG-26.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>[DMIG-26] Remove implicit schema diff to sql in Migration tasks for explicit solution</title>
                <link>http://www.doctrine-project.org/jira/browse/DMIG-26</link>
                <project id="10041" key="DMIG">Doctrine Migrations</project>
                        <description>&lt;p&gt;Currently the following leads to an implicit drop table statement:&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;public&lt;/span&gt; function up(Schema $schema)
 {
    $schema-&amp;gt;dropTable(&lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However this should be an explicit operation that internally puts everything onto the &quot;addSQL&quot; stack, then resets the schema diffs to zero by cloning the current schema into the &quot;diff schema&quot; again.&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;public&lt;/span&gt; function up(Schema $schema)
 {
    $schema-&amp;gt;dropTable(&lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt;);
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;syncSchema($schema);
    $schema-&amp;gt;dropTable(&lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;);
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;syncSchema($schema);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13191">DMIG-26</key>
            <summary>Remove implicit schema diff to sql in Migration tasks for explicit solution</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="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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Nov 2011 22:24:48 +0000</created>
                <updated>Mon, 21 Nov 2011 18:34:41 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16891" author="simensen" created="Sun, 20 Nov 2011 04:32:31 +0000"  >&lt;p&gt;So each call to &lt;tt&gt;syncSchema()&lt;/tt&gt; would result in processing all changes on the schema instance (&lt;tt&gt;dropTable()&lt;/tt&gt;, etc.) to actual SQL commands and placed on the &quot;operations&quot; stack? And at that point the schema instance should show no diffs so that any future calls to &lt;tt&gt;syncSchema()&lt;/tt&gt; would only include schema changes since the previous call?&lt;/p&gt;</comment>
                    <comment id="16892" author="beberlei" created="Sun, 20 Nov 2011 08:28:17 +0000"  >&lt;p&gt;Yes exactly&lt;/p&gt;</comment>
                    <comment id="16900" author="simensen" created="Mon, 21 Nov 2011 18:34:41 +0000"  >&lt;p&gt;Alright, I&apos;ll see what I can do. I have a feeling I will get a pretty good idea how everything works if I start digging into this one.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>