Updated documentation to show example on how to disable foreign key constraint exporting for individual models.
This commit is contained in:
parent
3eedefae50
commit
157c2d5fed
@ -38,7 +38,7 @@ class MyCustomOptionRecord extends Doctrine_Record
|
||||
{
|
||||
$this->hasColumn('name', 'string');
|
||||
|
||||
$this->option('export_foreign_key_sql', false);
|
||||
$this->setAttribute(Doctrine::ATTR_EXPORT, Doctrine::EXPORT_ALL ^ Doctrine::EXPORT_CONSTRAINTS);
|
||||
}
|
||||
}
|
||||
</code>
|
Loading…
x
Reference in New Issue
Block a user