1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Updated documentation to show example on how to disable foreign key constraint exporting for individual models.

This commit is contained in:
Jonathan.Wage 2007-08-29 21:53:41 +00:00
parent 3eedefae50
commit 157c2d5fed

View File

@ -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>