<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 11:58:56 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+DC+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Schema+Files%22+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+DC+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Schema+Files%22+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="18" total="18"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DC-791] [PostgreSQL] In case model is build from existing database sequence name is invalid and doctrine throw exception</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-791</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Firstly I created database directly in postgresql.&lt;br/&gt;
After that I generated schema from existsing database and after all i built model.&lt;/p&gt;

&lt;p&gt;When I try to insert new record to database I received following error:&lt;/p&gt;

&lt;p&gt;sequence &quot;Category_id_seq&quot; does not exist&lt;/p&gt;

&lt;p&gt;In schema file sequence name is defined like this:  sequence: &apos;&quot;Address_id_seq&quot;&apos;&lt;br/&gt;
There&apos;s are apostrophes and quotes.&lt;/p&gt;

&lt;p&gt;In Category model file is same like above, apostrophes and quotes.&lt;/p&gt;

&lt;p&gt;When I remove quotes from sequence in model files everything is ok and there&apos;re no problems with insert new row to database.&lt;/p&gt;</description>
                <environment>symfony 1.4.5, postgresql 8.4, debian lenny, nginx</environment>
            <key id="11633">DC-791</key>
            <summary>[PostgreSQL] In case model is build from existing database sequence name is invalid and doctrine throw exception</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="kacperix">Przemys&#322;aw Ci&#261;&#263;ka</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Jul 2010 08:42:43 +0000</created>
                <updated>Wed, 25 Aug 2010 02:40:04 +0000</updated>
                                    <version>1.2.2</version>
                                <fixVersion>1.2.4</fixVersion>
                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13943" author="enrico" created="Fri, 13 Aug 2010 12:51:22 +0000"  >&lt;p&gt;There are 2 solutions to your problem. The first is to change the sequence name in the schema, the second is to change the doctrine configuration.&lt;/p&gt;

&lt;p&gt;The default behavior of doctrine is to add a &quot;_seq&quot; to each sequence name. If you remove this part from you sequence name then it sould work as expected. The second option is to change the behavior of doctrine with the following configuration parameter:&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; 
Doctrine_Manager::getInstance()-&amp;gt;setAttribute(Doctrine_Core::ATTR_SEQNAME_FORMAT, &apos;%s&apos;); 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;default:&lt;/b&gt; Doctrine_Manager::getInstance()-&amp;gt;setAttribute(Doctrine_Core::ATTR_SEQNAME_FORMAT, &apos;%s_seq&apos;); &lt;/p&gt;</comment>
                    <comment id="14063" author="kacperix" created="Wed, 25 Aug 2010 02:40:04 +0000"  >&lt;p&gt;Problem are quotes in sequence name.&lt;br/&gt;
Sequence names in schema built from existing database have quotes in their names, e.g &apos; &quot;Address_seq&quot; &apos; and Doctrine try to execute sequence with quotes but in database names exist without quotes.&lt;/p&gt;

&lt;p&gt;Temporarly I fixed it by add str_replace() into importer from PostgreSQL - now in schema sequence names are without quotes.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10697" name="doctrine.png" size="40004" author="kacperix" created="Fri, 16 Jul 2010 08:42:43 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-980] Moving all ALTERS queries to the end of generated sql file (task build-sql)</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-980</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Actual in case of using multi database configuration and foreign keys between them.&lt;/p&gt;

&lt;p&gt;Now build-sql task generates SQL query for database by database in alphabetical order. It&apos;s ugly when we have multidatabase configuration and foreign keys between their tables. It&apos;s impossible to do &apos;import-sql&apos; without errors beucase foreign keys constrains to nonexisting tables are in next database in order. &lt;/p&gt;

&lt;p&gt;I have added some code to strings 1176-...&lt;/p&gt;</description>
                <environment></environment>
            <key id="12446">DC-980</key>
            <summary>Moving all ALTERS queries to the end of generated sql file (task build-sql)</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="seremenko">Sergey Eremenko</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Mar 2011 06:42:03 +0000</created>
                <updated>Fri, 4 Mar 2011 06:42:03 +0000</updated>
                                                                    <component>Cli</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="10951" name="Export.php" size="56058" author="seremenko" created="Fri, 4 Mar 2011 06:42:03 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-888] Foreign key id columns do not respect ATTR_DEFAULT_IDENTIFIER_OPTIONS</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-888</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Some time ago Jon Wage suggested that one can override the 8-byte default integer type for IDs by setting Doctrine_Core::ATTR_DEFAULT_IDENTIFIER_OPTIONS in configureDoctrine (in a Symfony project), like this:&lt;/p&gt;

&lt;p&gt;  public function configureDoctrine(Doctrine_Manager $manager)&lt;/p&gt;
  {
    // Use 4-byte IDs for backwards compatibility with databases built on
    // Apostrophe 1.4, sfDoctrineGuard pre-5.0, etc. You don&apos;t need this for
    // a brand new site
    $options = $manager-&amp;gt;getAttribute(Doctrine_Core::ATTR_DEFAULT_IDENTIFIER_OPTIONS);
    $options[&apos;length&apos;] = 4;
    $manager-&amp;gt;setAttribute(Doctrine_Core::ATTR_DEFAULT_IDENTIFIER_OPTIONS, $options);
  }

&lt;p&gt;This works for primary key id columns. However it is not respected by foreign key id columns, which do not consult ATTR_DEFAULT_IDENTIFIER_OPTIONS.&lt;/p&gt;

&lt;p&gt;I looked at working around this using ATTR_DEFAULT_COLUMN_OPTIONS, however it is not type-specific. So if you set a length of 4 with that option, it applies not just to all integers but also to dates, datetimes, booleans and many other things that definitely should not be 4 bytes. &lt;/p&gt;

&lt;p&gt;The correct fix seems to be for foreign key id columns to respect ATTR_DEFAULT_IDENTIFIER_OPTIONS. &lt;/p&gt;

&lt;p&gt;Also, ATTR_DEFAULT_COLUMN_OPTIONS should probably let you specify different defaults for each column type as the length option is basically not usable in its current form. But that would not be a particularly clean solution to the foreign key id problem since limiting non-ID integers to 4 bytes should not be necessary.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;* *&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The motivation for this bug report:&lt;/p&gt;

&lt;p&gt;The new stable release of sfDoctrineGuardPlugin (for Symfony) does not specify an integer size as it formerly did, so the size of integers now defaults to 8 bytes. This breaks backwards compatibility with existing code that adds foreign key relationships to sfGuard objects like sfGuardUser, etc. Creating migrations to deal with changing this across all tables involved is quite difficult (all foreign key indexes must be dropped and recreated - doctrine:migrations-diff is unable to figure it out, understandably). &lt;/p&gt;</description>
                <environment>Any</environment>
            <key id="12006">DC-888</key>
            <summary>Foreign key id columns do not respect ATTR_DEFAULT_IDENTIFIER_OPTIONS</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="boutell">Tom Boutell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Oct 2010 12:52:51 +0000</created>
                <updated>Wed, 13 Oct 2010 13:03:15 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Migrations</component>
                <component>Relations</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-886] Doctrine should support mysql native float/double</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-886</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Doctrine does not support native mysql float/double. It always specifies float(18,2) which reduces precission to 2 decimals.&lt;br/&gt;
Although it is possible via&lt;br/&gt;
type: float(18), scale: 6&lt;br/&gt;
to enhance precission, I experience the side-effect, that for example 76.86 is now stored as 76.860001&lt;br/&gt;
This ugly formatted number shows up in every form, unless I make an effort to round every field accordingly.&lt;/p&gt;

&lt;p&gt;I think doctrine should support mysql native float/double!&lt;/p&gt;</description>
                <environment>symfony 1.4.8 / mysql</environment>
            <key id="12003">DC-886</key>
            <summary>Doctrine should support mysql native float/double</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="zevero">Severin Puschkarski</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Oct 2010 10:55:24 +0000</created>
                <updated>Wed, 13 Oct 2010 11:19:54 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-885] Building schema doesn&apos;t work when tables have cross database foreign keys (MySQL).</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-885</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When building schema using the doctrine:build-schena task from multiple databases used in our project, the import process end up with a &quot;missing classname&quot; error without building the schema.yml file.&lt;/p&gt;

&lt;p&gt;This seems to be caused by the fact that the tables contained in the databases contain foreign keys referencing the other databases tables pks.&lt;/p&gt;

&lt;p&gt;As an example we have :&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;A main database (call it portal) that contains user&apos;s informations, and many other things.&lt;/li&gt;
	&lt;li&gt;a second database that contains business informations with some tables refererecing users informations contained in the main database.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;When generating the schema, and specifically on the second database step, there are no informations found for the primary keys contained main database.&lt;/p&gt;

&lt;p&gt;Digging in the import process, it seems that the issue comes from the fact that the Doctrine_Import.importSchema function creates a new definition array instance for every database encountered in the databases.yml.&lt;/p&gt;

&lt;p&gt;The correction found for this was to take the array() creation one level up before the connections traversing.&lt;/p&gt;

&lt;p&gt;original code :&lt;br/&gt;
    public function importSchema($directory, array $connections = array(), array $options = array())&lt;br/&gt;
    {&lt;br/&gt;
        $classes = array();&lt;/p&gt;

&lt;p&gt;        $manager = Doctrine_Manager::getInstance();&lt;br/&gt;
        foreach ($manager as $name =&amp;gt; $connection) {&lt;br/&gt;
          // Limit the databases to the ones specified by $connections.&lt;br/&gt;
          // Check only happens if array is not empty&lt;br/&gt;
          if ( ! empty($connections) &amp;amp;&amp;amp; ! in_array($name, $connections)) &lt;/p&gt;
{
            continue;
          }&lt;br/&gt;
&lt;br/&gt;
          $builder = new Doctrine_Import_Builder();&lt;br/&gt;
          $builder-&amp;gt;setTargetPath($directory);&lt;br/&gt;
          $builder-&amp;gt;setOptions($options);&lt;br/&gt;
&lt;br/&gt;
          $definitions = array(); // &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; STAYING THERE CAUSES THE &quot;MISSING CLASSNAME&quot; ERROR&lt;br/&gt;
&lt;br/&gt;
          foreach ($connection-&amp;gt;import-&amp;gt;listTables() as $table) {&lt;br/&gt;
......&lt;br/&gt;
&lt;br/&gt;
modified code :&lt;br/&gt;
&lt;br/&gt;
    public function importSchema($directory, array $connections = array(), array $options = array())&lt;br/&gt;
    {&lt;br/&gt;
        $classes = array();&lt;br/&gt;
&lt;br/&gt;
        $manager = Doctrine_Manager::getInstance();&lt;br/&gt;
        $definitions = array(); // &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;PUT HERE&lt;br/&gt;
&lt;br/&gt;
        foreach ($manager as $name =&amp;gt; $connection) {&lt;br/&gt;
          // Limit the databases to the ones specified by $connections.&lt;br/&gt;
          // Check only happens if array is not empty&lt;br/&gt;
          if ( ! empty($connections) &amp;amp;&amp;amp; ! in_array($name, $connections)) {            continue;          }

&lt;p&gt;          $builder = new Doctrine_Import_Builder();&lt;br/&gt;
          $builder-&amp;gt;setTargetPath($directory);&lt;br/&gt;
          $builder-&amp;gt;setOptions($options);&lt;/p&gt;

&lt;p&gt;          foreach ($connection-&amp;gt;import-&amp;gt;listTables() as $table) {&lt;br/&gt;
.......&lt;/p&gt;</description>
                <environment>Windows XP SP3, Apache 2, PHP 5.3, MySQL 5.1.36, Symfony 1.4.8.</environment>
            <key id="11998">DC-885</key>
            <summary>Building schema doesn&apos;t work when tables have cross database foreign keys (MySQL).</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="fabrice.agnello">Fabrice Agnello</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Oct 2010 04:52:04 +0000</created>
                <updated>Tue, 12 Oct 2010 04:52:04 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-858] Custom Behaviors/Templates cause autoloader errors</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-858</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When emitting Behaviors from schema files (YAML in our case),&lt;br/&gt;
Doctrine expects a shortened class name of the behavior (e.g. &apos;Timestampable&apos;) instead of the full class name:&lt;br/&gt;
The string &apos;Doctrine_Template_&apos; is automatically prepended and a check (class_exists()) is made.&lt;/p&gt;

&lt;p&gt;This is leading to possible autoloader errors (in our case: Zend autoloader does not find our custom behavior):&lt;/p&gt;


&lt;p&gt;YAML:&lt;/p&gt;

&lt;p&gt;{{&lt;br/&gt;
Person:&lt;br/&gt;
  actAs: &lt;span class=&quot;error&quot;&gt;&amp;#91;SoftDelete, My_Doctrine_Template_CustomBehavior&amp;#93;&lt;/span&gt;&lt;br/&gt;
  ...&lt;br/&gt;
}}&lt;/p&gt;

&lt;p&gt;&apos;SoftDelete&apos; is the short class name of &apos;Doctrine_Template_SoftDelete&apos;.&lt;br/&gt;
&apos;My_Doctrine_Template_CustomBehavior&apos; is the full class name and shall not be prefixed with &apos;Doctrine_Template_&apos;.&lt;/p&gt;


&lt;p&gt;The corresponding section responsible for this bug:&lt;/p&gt;

&lt;p&gt;File: Doctrine/Import/Builder.php&lt;br/&gt;
Lines: 702-704, function emitAssign()&lt;/p&gt;

&lt;p&gt;{{&lt;br/&gt;
if (class_exists(&quot;Doctrine_Template_$name&quot;, true)) &lt;/p&gt;
{
    $classname = &quot;Doctrine_Template_$name&quot;;
}
}}&lt;br/&gt;
&lt;br/&gt;
There is no test whether a full class name is given as $name, so there is no way to add custom behaviors to records without the autoloader checking for a non-existing class and spilling errors/notices.&lt;br/&gt;
With the above YAML schema file it would test for class_exists(&apos;Doctrine_Template_My_Doctrine_Template_CustomBehavior&apos;), which is obviously not existing.&lt;br/&gt;
&lt;br/&gt;
a quick fix could look like this:&lt;br/&gt;
&lt;br/&gt;
{{&lt;br/&gt;
if (strpos($name, &apos;_&apos;) === false // is this a shortened name of an original Doctrine behaviour class?&lt;br/&gt;
            &amp;amp;&amp;amp; class_exists(&quot;Doctrine_Template_$name&quot;, true)) {    $classname = &quot;Doctrine_Template_$name&quot;;}}}

&lt;p&gt;Another alternative (but breaking compatability with existing schema files) would be to &lt;em&gt;always&lt;/em&gt; use full class names instead of fancy short names.&lt;/p&gt;


&lt;p&gt;Interestingly enough, this error is only occuring with Zend autoloader on Windows systems, but can be easily avoided with the fix like suggested above.&lt;/p&gt;</description>
                <environment>Windows Vista/7&lt;br/&gt;
PHP 5.3.1 - 5.3.3&lt;br/&gt;
Zend autoloader&lt;br/&gt;
not occuring under Ubuntu 10.05 / MacOSX</environment>
            <key id="11883">DC-858</key>
            <summary>Custom Behaviors/Templates cause autoloader errors</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="apric">apric</reporter>
                        <labels>
                    </labels>
                <created>Sat, 4 Sep 2010 11:38:30 +0000</created>
                <updated>Sat, 4 Sep 2010 19:09:33 +0000</updated>
                                    <version>1.2.1</version>
                <version>1.2.2</version>
                <version>1.2.3</version>
                                                <component>Behaviors</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14277" author="jwage" created="Sat, 4 Sep 2010 19:09:33 +0000"  >&lt;p&gt;I believe this is because the Zend autoloader does not fail silently by default. I think it can be configured to check if the file exists and not throw any errors.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-849] Error Generate Schema.yml Database Oracle</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-849</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Some deleted records are genereated by the Oracle driver, the following patch solves the problem, found with .... alexia.velasquez@hotmail.es, vtamara@pasosdeJesus.org, jeronimo0000@gmail.com&lt;/p&gt;

&lt;p&gt;&amp;#8212; Doctrine/Import/Oracle.php.orig     2010-08-31 11:01:10.934142453 -0500&lt;br/&gt;
+++ Doctrine/Import/Oracle.php  2010-08-31 11:01:35.778661707 -0500&lt;br/&gt;
@@ -118,7 +118,7 @@&lt;br/&gt;
 SELECT tc.column_name, data_type,&lt;br/&gt;
 CASE WHEN data_type = &apos;NUMBER&apos; THEN data_precision ELSE data_length END AS data_length,&lt;br/&gt;
 nullable, data_default, data_scale, data_precision, pk.primary&lt;br/&gt;
-FROM all_tab_columns tc&lt;br/&gt;
+FROM user_tab_columns tc&lt;br/&gt;
 LEFT JOIN (&lt;br/&gt;
  select &apos;primary&apos; primary, cc.table_name, cc.column_name from all_constraints cons&lt;br/&gt;
  join all_cons_columns cc on cons.constraint_name = cc.constraint_name&lt;br/&gt;
@@ -252,4 +252,4 @@&lt;br/&gt;
         $query = &apos;SELECT view_name FROM sys.user_views&apos;;&lt;br/&gt;
         return $this-&amp;gt;conn-&amp;gt;fetchColumn($query);&lt;br/&gt;
     }&lt;br/&gt;
-}&lt;br/&gt;
\ No hay ning&#250;n car&#225;cter de nueva l&#237;nea al final del fichero&lt;br/&gt;
+}&lt;/p&gt;</description>
                <environment>Ubuntu 10.4, Oracle</environment>
            <key id="11858">DC-849</key>
            <summary>Error Generate Schema.yml Database Oracle</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jeronimo0000">fernando guerrero</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Aug 2010 18:24:01 +0000</created>
                <updated>Tue, 31 Aug 2010 18:40:58 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14204" author="jwage" created="Tue, 31 Aug 2010 18:40:58 +0000"  >&lt;p&gt;Hi, the formatting is a bit unreadable. Can you fork &lt;a href=&quot;http://github.com/doctrine/doctrine1&quot; class=&quot;external-link&quot;&gt;http://github.com/doctrine/doctrine1&lt;/a&gt; and send a pull request?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1015] bindComponent not called before inherited classes base definitions</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1015</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;If I define a base model:&lt;/p&gt;

&lt;p&gt;Entity:&lt;br/&gt;
  connection:  other&lt;br/&gt;
  columns:&lt;br/&gt;
    name: {}&lt;br/&gt;
    size:    {}&lt;/p&gt;

&lt;p&gt;and inherited model:&lt;/p&gt;

&lt;p&gt;Box:&lt;br/&gt;
  inheritance:&lt;br/&gt;
    extends: Entity&lt;br/&gt;
    type: column_aggregation&lt;/p&gt;


&lt;p&gt;Then file with base definition of Box does not contain bindComponent sentence to bind Box model with connection specified for Entity model.&lt;/p&gt;</description>
                <environment>symfony 1.4</environment>
            <key id="12786">DC-1015</key>
            <summary>bindComponent not called before inherited classes base definitions</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="romanb">Roman S. Borschel</assignee>
                                <reporter username="ardi">Adrian Nowicki</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jul 2011 21:21:12 +0000</created>
                <updated>Mon, 4 Jul 2011 21:21:12 +0000</updated>
                                                                    <component>Inheritance</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-991] Views abstraction model </title>
                <link>http://www.doctrine-project.org/jira/browse/DC-991</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;View abstraction model &lt;/p&gt;

&lt;p&gt;Hi, i&apos;ve been using doctrine from about six months, i&apos;m not an expert but i know the basics and this has been enough for me and my web-app requirements. The problem begins cause i need a kind of &quot;dynamic table model&quot; in other words an specific one table&apos;s abstraction, i thought implement a view for this purpose, but i can&apos;t figure out how define the BaseModel for the view to use it like a table, thus allowing the use of methods like save(), find() and build (logicals) relationships with others entities. in few words: can i build a table model from a query/view?, it is possible? i read the posts from above but this issue still being not realy clear at all for me.&lt;/p&gt;

&lt;p&gt;me realy will apreciate any help, thanks in advance.&lt;/p&gt;

&lt;p&gt;Regards.&lt;/p&gt;</description>
                <environment>all</environment>
            <key id="12506">DC-991</key>
            <summary>Views abstraction model </summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="lacroixdj">Jesus Far&#237;as Lacroix</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Mar 2011 11:06:48 +0000</created>
                <updated>Mon, 28 Mar 2011 11:06:48 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-400] bit(1) columns are broken</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-400</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Ihave the following Doctrine schema:&lt;/p&gt;

&lt;p&gt;&amp;#8212;&lt;br/&gt;
TestTable:&lt;br/&gt;
    columns:&lt;br/&gt;
        bitty: bit(1)&lt;/p&gt;

&lt;p&gt;I have created the database and table for this. I then have the following PHP code:&lt;/p&gt;

&lt;p&gt;$obj1 = new TestTable();&lt;br/&gt;
$obj1&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;bitty&amp;#39;&amp;#93;&lt;/span&gt; = b&apos;0&apos;;&lt;br/&gt;
$obj1-&amp;gt;save();&lt;/p&gt;

&lt;p&gt;$obj2 = new TestTable();&lt;br/&gt;
$obj2&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;bitty&amp;#39;&amp;#93;&lt;/span&gt; = 0;&lt;br/&gt;
$obj2-&amp;gt;save();&lt;/p&gt;

&lt;p&gt;Clearly my attempt is to save the bit value 0 in the bitty column.&lt;/p&gt;

&lt;p&gt;However after running this PHP code I get the following odd results:&lt;/p&gt;

&lt;p&gt;mysql&amp;gt; select * from test_table;&lt;br/&gt;
&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; id &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; bitty &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  1 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  2 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;br/&gt;
2 rows in set (0.00 sec)&lt;/p&gt;

&lt;p&gt;mysql&amp;gt; select * from test_table where bitty = 1;&lt;br/&gt;
&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; id &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; bitty &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  1 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  2 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;--&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;br/&gt;
2 rows in set (0.00 sec)&lt;/p&gt;

&lt;p&gt;mysql&amp;gt; select * from test_table where bitty = 0;                &lt;br/&gt;
Empty set (0.00 sec)&lt;/p&gt;

&lt;p&gt;Those boxes are the 0x01 character, i.e. Doctrine has set the value to 1, not 0.&lt;/p&gt;

&lt;p&gt;However I can insert 0&apos;s into that table direct from MySQL:&lt;/p&gt;

&lt;p&gt;mysql&amp;gt; insert into test_table values (4, b&apos;0&apos;);&lt;br/&gt;
Query OK, 1 row affected (0.00 sec)&lt;/p&gt;

&lt;p&gt;mysql&amp;gt; select * from test_table where bitty = 0;&lt;br/&gt;
&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; id &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; bitty &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;/p&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  4 &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;ins&gt;---&lt;del&gt;&lt;/ins&gt;&lt;/del&gt;------+&lt;br/&gt;
1 row in set (0.00 sec)&lt;/p&gt;


&lt;p&gt;See also this question on StackOverflow &lt;a href=&quot;http://stackoverflow.com/questions/2008021/php-doctrine-orm-not-able-to-handle-bit1-types-correctly&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/2008021/php-doctrine-orm-not-able-to-handle-bit1-types-correctly&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Ubuntu 9.10 php 5.2 mysql 5.1, all installed with ubuntu&amp;#39;s apt</environment>
            <key id="10688">DC-400</key>
            <summary>bit(1) columns are broken</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="rorymccann">Rory McCann</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jan 2010 09:33:34 +0000</created>
                <updated>Mon, 11 Apr 2011 15:38:55 +0000</updated>
                                                                    <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-359] concrete inheritance doesn&apos;t create all relations</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-359</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;This is the YML schema&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;Entity:
  actAs:
    Timestampable:
  columns:
    id:
      type: integer(11)
      primary: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
      autoincrement: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    name: string(50)
  relations:
    DynamicFields:
      class: DynamicField
      local: id
      foreign: dynamic_field_id
      refClass: EntityDynamicFields

DynamicField:
  actAs:
    I18n:
      fields: [name_xml]
  columns:
    id:
      type: integer(11)
      primary: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
      autoincrement: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    name_xml: 
      type: string(50)
      notnull: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
  relations:
    Entities:
      class: Entity
      local: dynamic_field_id
      foreign: id
      refClass: EntityDynamicFields

EntityDynamicFields:
  actAs:
    I18n:
      fields: [value_xml]
  columns:
    id:
      type: integer(11)
      primary: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    dynamic_field_id:
      type: integer(11)
      primary: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    value_xml: string(250)

Airline:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Bank:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Client:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Employe:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Host:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Partner:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Person:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

Supplier:
  inheritance:
    &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt;: Entity
    type: concrete

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I run the commands &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;./doctrine build-all
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and&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;./doctrine rebuild-db
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is when I verify if the foreign keys are created, but&lt;br/&gt;
these were only created for the &quot;client&quot; and &quot;employee&quot; models, to&lt;br/&gt;
&quot;host&quot; does not create the relationship in the MySQL, but if I rename&lt;br/&gt;
&quot;host&quot; with a name like &quot;Ent&quot;, the relationship is established, or if I rename &lt;br/&gt;
the parent model &quot;Entity&quot; to &quot;Zzzzz&quot;, all relations are created.&lt;/p&gt;

&lt;p&gt;I did several tests, and the only way that the relation is created, is&lt;br/&gt;
that the model name, is alphabetically sorted before the parent model name. &lt;/p&gt;

&lt;p&gt;This is a part of the dump of MySQL&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;ALTER TABLE `entity_dynamic_fields`
  ADD CONSTRAINT `entity_dynamic_fields_dynamic_field_id_dynamic_field_id` FOREIGN KEY (`dynamic_field_id`) REFERENCES `dynamic_field` (`id`),
  ADD CONSTRAINT `entity_dynamic_fields_id_airline_id` FOREIGN KEY (`id`) REFERENCES `airline` (`id`),
  ADD CONSTRAINT `entity_dynamic_fields_id_bank_id` FOREIGN KEY (`id`) REFERENCES `bank` (`id`),
  ADD CONSTRAINT `entity_dynamic_fields_id_client_id` FOREIGN KEY (`id`) REFERENCES `client` (`id`),
  ADD CONSTRAINT `entity_dynamic_fields_id_employe_id` FOREIGN KEY (`id`) REFERENCES `employe` (`id`),
  ADD CONSTRAINT `entity_dynamic_fields_id_entity_id` FOREIGN KEY (`id`) REFERENCES `entity` (`id`);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The other foreign keys are missed&lt;/p&gt;

&lt;p&gt;you can view the diagram EER created with reverse engineering of MySQL Workbench &lt;br/&gt;
&lt;a id=&quot;10236_thumb&quot; href=&quot;http://www.doctrine-project.org/jira/secure/attachment/10236/10236_Picture+1.png&quot; title=&quot;Picture 1.png&quot;&gt;&lt;img src=&quot;http://www.doctrine-project.org/jira/secure/thumbnail/10236/_thumb_10236.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment>PHP 5.2.11 (cli) (built: Oct  5 2009 21:36:09) &lt;br/&gt;
Copyright (c) 1997-2009 The PHP Group&lt;br/&gt;
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans&lt;br/&gt;
&lt;br/&gt;
Server version: Apache/2.2.13 (Unix)&lt;br/&gt;
&lt;br/&gt;
Server version: 5.1.38-log MySQL Community Server (GPL)</environment>
            <key id="10615">DC-359</key>
            <summary>concrete inheritance doesn&apos;t create all relations</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jvega">Juan Vega</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Dec 2009 22:20:46 +0000</created>
                <updated>Wed, 16 Dec 2009 19:42:00 +0000</updated>
                                    <version>1.2.0</version>
                <version>1.2.1</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="11190" author="jvega" created="Tue, 15 Dec 2009 19:42:57 +0000"  >&lt;p&gt;I know where is the problem, in Doctrine_Core::loadModels the list of models returned are alphabetically sorted, if I can rearrange the array by inheritance, the foreign keys for the models (&apos;host&apos; &apos;partner&apos; &apos;person&apos; &apos;supplier&apos;) are created.&lt;/p&gt;

&lt;p&gt;more explicity:&lt;/p&gt;

&lt;p&gt;I have 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;Array
(
    [0] =&amp;gt; Airline
    [1] =&amp;gt; Bank
    [2] =&amp;gt; Client
    [3] =&amp;gt; DynamicField
    [4] =&amp;gt; Employe
    [5] =&amp;gt; Entity
    [6] =&amp;gt; EntityDynamicFields
    [7] =&amp;gt; Host
    [8] =&amp;gt; Partner
    [9] =&amp;gt; Person
    [10] =&amp;gt; Supplier
)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I need 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;Array
(
    [0] =&amp;gt; Entity
    [1] =&amp;gt; Airline
    [2] =&amp;gt; Bank
    [3] =&amp;gt; Client
    [4] =&amp;gt; Employe
    [5] =&amp;gt; Host
    [6] =&amp;gt; Partner
    [7] =&amp;gt; Person
    [8] =&amp;gt; Supplier
    [9] =&amp;gt; DynamicField
    [10] =&amp;gt; EntityDynamicFields
)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="11207" author="jvega" created="Wed, 16 Dec 2009 19:42:00 +0000"  >&lt;p&gt;ok, this is my patch to rearrange the models loaded, this array puts the child models before the parents&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10237" name="fix-dc-359.diff" size="1210" author="jvega" created="Wed, 16 Dec 2009 19:42:00 +0000" />
                    <attachment id="10236" name="Picture 1.png" size="94239" author="jvega" created="Mon, 14 Dec 2009 22:20:46 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-287] Schema: package property for model</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-287</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;There is a property &quot;package&quot; for the schema.yml file.&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_0/en/yaml-schema-files#features-examples:packages&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_0/en/yaml-schema-files#features-examples:packages&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But this should be used only for plugin symfony.&lt;/p&gt;

&lt;p&gt;It will be good to have the same feature for classic model (not plugin), to be available to organize the model inside of the model folder.&lt;/p&gt;

&lt;p&gt;This feature is critical for huge project. Indeed having 200 files at the root of the folder model/doctrine is very difficult to maintain.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="10503">DC-287</key>
            <summary>Schema: package property for model</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="titang">Mickael HOAREAU</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Nov 2009 04:03:02 +0000</created>
                <updated>Tue, 8 Jun 2010 16:19:51 +0000</updated>
                                                                    <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="11294" author="titang" created="Fri, 25 Dec 2009 03:05:58 +0000"  >&lt;p&gt;Here a possible patch for doctrine 1.2, it is working for the basic cases.&lt;/p&gt;

&lt;p&gt;It probably needs to be improved.&lt;/p&gt;</comment>
                    <comment id="12195" author="jwage" created="Mon, 15 Mar 2010 11:41:05 +0000"  >&lt;p&gt;I agree this is a problem, but your patch is not good. It doesn&apos;t follow the coding standards and has some formatting problems. Also, it doesn&apos;t seem like a good solution. What do you think?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10259" name="DC-287.patch" size="4117" author="titang" created="Fri, 25 Dec 2009 03:05:58 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-833] Data type in YAML schema spacing issue</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-833</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When creating a column in a table in a YAML schema file, the following two scenarios produce different results:&lt;/p&gt;

&lt;p&gt;Model:&lt;br/&gt;
  columns:&lt;br/&gt;
    ...&lt;br/&gt;
    some_numeric:&lt;br/&gt;
      type: integer(3)&lt;br/&gt;
      ....&lt;br/&gt;
__________________________&lt;br/&gt;
Model:&lt;br/&gt;
  columns:&lt;br/&gt;
    ...&lt;br/&gt;
    some_numeric:&lt;br/&gt;
      type: integer (3)&lt;br/&gt;
      ....&lt;/p&gt;

&lt;p&gt;Please note the spacing in the second example before the (3) in the type definition. The first example will generate a mediumint in MySQL with a length other than 3, while the second example works as expected.&lt;/p&gt;</description>
                <environment>Windows 7, Apache 2.2.11, PHP 5.2.9, MySQL 5.1.36</environment>
            <key id="11795">DC-833</key>
            <summary>Data type in YAML schema spacing issue</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="dannykopping">Danny Kopping</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Aug 2010 08:16:04 +0000</created>
                <updated>Wed, 18 Aug 2010 08:21:04 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13998" author="dannykopping" created="Wed, 18 Aug 2010 08:21:04 +0000"  >&lt;p&gt;The formatting for the YAML didn&apos;t come out right through JIRA, I apologize for that&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-864] Generating YAML schema from model should pick up also charset, collate and other options</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-864</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I did change Doctrine/Export/Schema.php to pick up some options from model, then they get exported into YAML schema by current code.&lt;/p&gt;

&lt;p&gt;Adding the patch. (sorry, can&apos;t run the tests, so I&apos;m not sure whether it does break something, really shouldn&apos;t)&lt;/p&gt;

&lt;p&gt;In my project it works just as expected (did need it for the way I do migrations).&lt;/p&gt;

&lt;p&gt;TODO for Doctrine devs:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;run tests with my patch and let me know if there&apos;s a problem&lt;/li&gt;
	&lt;li&gt;consider other option names, which are worth of export, so far I did need &quot;charset&quot; and &quot;collate&quot;, and I added &quot;queryParts&quot; as well.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I hope my additions make sense and will help you to improve Doctrine project. (and that you will include it, so I don&apos;t have custom modified Doctrine &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;</description>
                <environment></environment>
            <key id="11904">DC-864</key>
            <summary>Generating YAML schema from model should pick up also charset, collate and other options</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="ped">Peter Helcmanovsky</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Sep 2010 06:15:08 +0000</created>
                <updated>Mon, 10 Jan 2011 09:51:03 +0000</updated>
                                                                    <component>Import/Export</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15118" author="ped" created="Mon, 10 Jan 2011 09:51:03 +0000"  >&lt;p&gt;By hunting down an eluding bug I figured out (i.e. by hard way) that the indexes are dropped as well during YAML generation.&lt;/p&gt;

&lt;p&gt;I will do another pull request on github including another 3 lines to fix that...&lt;/p&gt;

&lt;p&gt;I see this issue is ignored anyway by core devs.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10784" name="Export_Schema.patch" size="863" author="ped" created="Fri, 10 Sep 2010 06:15:08 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-948] 3 underscores in my yaml file lead to error</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-948</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I had this yaml:&lt;/p&gt;

&lt;p&gt;OldAppellations:&lt;/p&gt;

&lt;p&gt;  connection: doctrine&lt;/p&gt;

&lt;p&gt;  tableName: old_appellations&lt;/p&gt;

&lt;p&gt;  columns:&lt;/p&gt;

&lt;p&gt;    appellations___sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationsapcode_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationsappellation_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationscolor_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationscountry_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationsregion_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationsregion_for_link_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationssubt_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationstaster_appel_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationstotal_r_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    appellationstype_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;    export_record_id_sql: &lt;/p&gt;
{ type: text }


&lt;p&gt;I got this error:&lt;/p&gt;

&lt;p&gt;Notice: Undefined index: o__appellations in /home/lkrubner/dev/tastingnotes/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/Graph.php on line 302&lt;br/&gt;
Notice: Undefined index: in /home/lkrubner/dev/tastingnotes/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/Graph.php on line 303&lt;br/&gt;
Fatal error: Call to a member function getFieldName() on a non-object in /home/lkrubner/dev/tastingnotes/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Hydrator/Graph.php on line 304&lt;/p&gt;


&lt;p&gt;Then I changed the 3 underscores to 1:&lt;/p&gt;

&lt;p&gt;    appellations_sql: &lt;/p&gt;
{ type: text }

&lt;p&gt;I rebuilt the model and the error was gone. &lt;/p&gt;

&lt;p&gt;More details and screenshots are here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.symfonyexperts.com/question/show/id/178&quot; class=&quot;external-link&quot;&gt;http://www.symfonyexperts.com/question/show/id/178&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Linux 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009&lt;br/&gt;
&lt;br/&gt;
Symfony 1.4</environment>
            <key id="12211">DC-948</key>
            <summary>3 underscores in my yaml file lead to error</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="lkrubner">Lawrence Krubner</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Dec 2010 11:44:39 +0000</created>
                <updated>Thu, 9 Dec 2010 11:44:39 +0000</updated>
                                                                    <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-418] Inherited models creating NOT NULL restrictions on their parents</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-418</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;to reproduce, create the yaml included in sample.yaml (Note the not-null columns in each subclass)&lt;/p&gt;

&lt;p&gt;if you try to save an OnlineProduct without setting copyright_year, or if you create a print_product without setting website_branding_id, then you will get a not null error.&lt;br/&gt;
Inherited tables should be able to set their own NOT NULL columns without affecting other tables in the inheritance tree (should be handled in the preSave() method? or is there another mechanism?)&lt;/p&gt;</description>
                <environment>Linux skywalker-9 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux&lt;br/&gt;
</environment>
            <key id="10713">DC-418</key>
            <summary>Inherited models creating NOT NULL restrictions on their parents</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jlukescott">luke scott</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Jan 2010 18:17:58 +0000</created>
                <updated>Mon, 11 Jan 2010 18:19:57 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Attributes</component>
                <component>Inheritance</component>
                <component>Record</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="11365" author="jlukescott" created="Mon, 11 Jan 2010 18:19:57 +0000"  >&lt;p&gt;YAML format was destroyed during copy &amp;amp; paste!&lt;br/&gt;
I&apos;m attaching the sample yaml, instead of including it in the description&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10279" name="sample.yaml" size="911" author="jlukescott" created="Mon, 11 Jan 2010 18:19:57 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-776] $record-&gt;link(&apos;Alias&apos;, $id) throws an exception because of getIdentifier returns array, not string</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-776</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I want to bookmark ads on my site. So i have Ads table, users table (sfDoctrineGuard) and a refclass Bookmarks. I&apos;ve created an ajax link to an action, where i retrieved $ad object, $user_id and &lt;br/&gt;
$ad-&amp;gt;link(&apos;Bookmarks&apos;, $user_id, true);&lt;br/&gt;
So I expected a record in a database to be created. &lt;/p&gt;

&lt;p&gt;Bookmarks:&lt;br/&gt;
...&lt;br/&gt;
  columns:&lt;br/&gt;
    user_id: &lt;/p&gt;
{ type: integer(4), primary: true }
&lt;p&gt;    ad_id:  &lt;/p&gt;
{ type: integer(4), primary: true }
&lt;p&gt;  relations:&lt;br/&gt;
    sfGuardUser: &lt;/p&gt;
{ onDelete: CASCADE, local: user_id, foreign: id }
&lt;p&gt;    Ads: &lt;/p&gt;
{ onDelete: CASCADE, local: ad_id,  foreign: ad_id }

&lt;p&gt;As my Bookmarks table has 2 primary keys in the link method &lt;/p&gt;

&lt;p&gt;            if (count($ids) &amp;gt; 0) &lt;/p&gt;
{
                $q-&amp;gt;whereIn($rel-&amp;gt;getTable()-&amp;gt;getIdentifier(), array_values($this-&amp;gt;identifier()));
            }

&lt;p&gt;$rel-&amp;gt;getTable()-&amp;gt;getIdentifier() returned me an array(&apos;user_id&apos;, &apos;ad_id&apos;) instead of a string. So the query which was generated looked like&lt;br/&gt;
UPDATE bookmarks SET ad_id = ? WHERE (Array IN &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/help_16.gif&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;)&lt;br/&gt;
And Array is not the name of a column.&lt;/p&gt;

&lt;p&gt;My schema:&lt;br/&gt;
&lt;a href=&quot;http://pastie.org/private/2lr9gy1h3mtdwdsiwrwylq&quot; class=&quot;external-link&quot;&gt;http://pastie.org/private/2lr9gy1h3mtdwdsiwrwylq&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve solved an issue by creating a new Bookmark instance and saving it, but i presume that issue might distract someone.&lt;/p&gt;</description>
                <environment>Symfony 1.4.6-DEV</environment>
            <key id="11588">DC-776</key>
            <summary>$record-&gt;link(&apos;Alias&apos;, $id) throws an exception because of getIdentifier returns array, not string</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="charnad">Viktoras Bezaras</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Jul 2010 18:01:58 +0000</created>
                <updated>Mon, 5 Jul 2010 18:05:14 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Record</component>
                <component>Relations</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
            <subtask id="11587">DC-775</subtask>
        </subtasks>
        </item>

<item>
            <title>[DC-752] Data type &quot;decimal&quot; can be unsigned in MySQL 5.0</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-752</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I have found in official docs of MySQL v5.0: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html&quot; class=&quot;external-link&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Decimals can be unsigned: DECIMAL[(M&lt;span class=&quot;error&quot;&gt;&amp;#91;,D&amp;#93;&lt;/span&gt;)] &lt;span class=&quot;error&quot;&gt;&amp;#91;UNSIGNED&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;ZEROFILL&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Here above is my &quot;&lt;tt&gt;schema.yml&lt;/tt&gt;&quot; file:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;background-color: #EEEEEE;border-color: #333333;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #333333;background-color: #EFEFEF;&quot;&gt;&lt;b&gt;schema.yml&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; 
Project:
  columns:
    id:
      type: integer(4)
      unsigned: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
      primary: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
      autoincrement: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
    salary_range_from:
      type: decimal(12)
      scale: 2
      unsigned: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After i run:&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;./symfony doctrine:build --all&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;my &quot;&lt;tt&gt;schema.sql&lt;/tt&gt;&quot; is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;background-color: #EEEEEE;border-color: #333333;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #333333;background-color: #EFEFEF;&quot;&gt;&lt;b&gt;schema.sql&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; 
CREATE TABLE `project` (
  `id` INT AUTO_INCREMENT, 
  `salary_range_from` DECIMAL(12, 2), 
  INDEX `company_id_idx` (`company_id`), PRIMARY KEY(`id`)
) DEFAULT CHARACTER SET utf8 ENGINE = INNODB;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>OS: FreeBSD 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 amd64&lt;br/&gt;
PHP: 5.2.13 (cli) (built: May  6 2010 01:51:58), Zend Engine v2.2.0, with Xdebug v2.0.5&lt;br/&gt;
Symfony: 1.4.6-DEV (/web/vendor/symfony/1.4-svn/lib)&lt;br/&gt;
MySQL: Ver 14.14 Distrib 5.1.46, for portbld-freebsd8.0 (amd64) using  5.2</environment>
            <key id="11522">DC-752</key>
            <summary>Data type &quot;decimal&quot; can be unsigned in MySQL 5.0</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="fruit">Ilya Sabelnikov</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jun 2010 10:38:31 +0000</created>
                <updated>Fri, 18 Jun 2010 10:38:31 +0000</updated>
                                                                    <component>Native SQL</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>