This commit is contained in:
parent
7ca8d64ef4
commit
26d3d3e7a4
1 changed files with 2 additions and 6 deletions
|
@ -73,12 +73,8 @@ class Doctrine_I18n extends Doctrine_Plugin
|
||||||
|
|
||||||
unset($def['autoincrement']);
|
unset($def['autoincrement']);
|
||||||
unset($def['sequence']);
|
unset($def['sequence']);
|
||||||
unset($def['primary']);
|
|
||||||
|
|
||||||
$col = strtolower(Doctrine::tableize($name) . '_' . $column);
|
$fk[$column] = $def;
|
||||||
|
|
||||||
$def['primary'] = true;
|
|
||||||
$fk[$col] = $def;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$cols = $table->getColumns();
|
$cols = $table->getColumns();
|
||||||
|
|
Loading…
Add table
Reference in a new issue