<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue Jun 18 20:50:08 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/DDC-1232/DDC-1232.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>[DDC-1232] getAlterTableSQL is not supported by platform SQLite</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1232</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;updating leads to the following error&lt;/p&gt;

&lt;p&gt;$ php app/console doctrine:schema:update &lt;/p&gt;


&lt;p&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;Doctrine\DBAL\DBALException&amp;#93;&lt;/span&gt;                                                                         &lt;br/&gt;
  Operation &apos;Doctrine\DBAL\Platforms\AbstractPlatform::getAlterTableSQL&apos; is not supported by platform.  &lt;/p&gt;

</description>
                <environment>macosx, sqlite</environment>
            <key id="12754">DDC-1232</key>
            <summary>getAlterTableSQL is not supported by platform SQLite</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>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="caefer">Christian Schaefer</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Jun 2011 12:09:54 +0000</created>
                <updated>Fri, 1 Feb 2013 10:18:06 +0000</updated>
                    <resolved>Mon, 27 Jun 2011 12:13:02 +0000</resolved>
                            <version>2.0.6</version>
                                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>4</watches>
                        <comments>
                    <comment id="16076" author="beberlei" created="Mon, 27 Jun 2011 12:13:02 +0000"  >&lt;p&gt;Which is correct, because ALTER TABLE is not supported by SQLite.&lt;/p&gt;</comment>
                    <comment id="16078" author="caefer" created="Mon, 27 Jun 2011 12:22:35 +0000"  >&lt;p&gt;so a schema update can not be performed?&lt;br/&gt;
if so then there should be a more descriptive error message telling the user not to perform this task on sqlite databases.&lt;/p&gt;</comment>
                    <comment id="16080" author="beberlei" created="Mon, 27 Jun 2011 12:40:45 +0000"  >&lt;p&gt;In Sqlite you need to drop-database + create-database to get it working.&lt;/p&gt;</comment>
                    <comment id="16364" author="dosipov" created="Fri, 19 Aug 2011 23:38:24 +0000"  >&lt;p&gt;I get the same error while executing migrations:diff. Now, I use SQLite locally, but MySQL on production. Shouldn&apos;t migrations:diff create database agnostic migration, that I wouldn&apos;t be able to execute locally, but would work on production?&lt;/p&gt;</comment>
                    <comment id="16980" author="yitznewton" created="Tue, 13 Dec 2011 21:36:19 +0000"  >&lt;p&gt;+1 for making this abstract enough to handle a standard dev environment: getAlterTableSQL() should create and store an abstraction, and once that&apos;s done, either fail on attempted migration of actual SQLite database, or preferably issue warning &amp;amp; require --force or the like to do DROP + CREATE&lt;/p&gt;</comment>
                    <comment id="18868" author="hason" created="Mon, 22 Oct 2012 21:04:39 +0000"  >&lt;p&gt;Proposed solution &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-370&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DBAL-370&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19205" author="beberlei" created="Wed, 2 Jan 2013 13:27:11 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-242&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/242&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/242&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19247" author="beberlei" created="Mon, 7 Jan 2013 10:50:02 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-242&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/242&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/242&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19444" author="galou" created="Fri, 1 Feb 2013 10:18:06 +0000"  >&lt;p&gt;SQLite supports a limited subset of ALTER TABLE. The ALTER TABLE command in SQLite allows the user to rename a table or to add a new column to an existing table. It is not possible to rename a column, remove a column, or add or remove constraints from a table.&lt;br/&gt;
&lt;a href=&quot;http://www.sqlite.org/lang_altertable.html&quot; class=&quot;external-link&quot;&gt;http://www.sqlite.org/lang_altertable.html&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>