Development

Changeset 5744

You must first sign up to be able to contribute.

Changeset 5744

Show
Ignore:
Timestamp:
10/29/07 16:52:22 (2 years ago)
Author:
francois
Message:

Fixed short syntax for unique index in YAML schemas resulting in non-unique index in XML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/addon/propel/sfPropelDatabaseSchema.class.php

    r3407 r5744  
    361361    if (is_array($column) && isset($column['index'])) 
    362362    { 
    363       if ($column['index'] === 'unique') 
     363      if ($column['index'] == 'unique') 
    364364      { 
    365365        $attributes_string .= "    <unique name=\"${tb_name}_${col_name}_unique\">\n"; 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.