Commit 157c2d5f authored by Jonathan.Wage's avatar Jonathan.Wage

Updated documentation to show example on how to disable foreign key constraint...

Updated documentation to show example on how to disable foreign key constraint exporting for individual models.
parent 3eedefae
......@@ -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>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment