Development

Changeset 5744

You must first sign up to be able to contribute.

Changeset 5744

Show
Ignore:
Timestamp:
10/29/07 16:52:22 (1 year 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";