diff --git a/manual/new/docs/en/object-relational-mapping/table-options.txt b/manual/new/docs/en/object-relational-mapping/table-options.txt index 9d1601b24..a62d7b107 100644 --- a/manual/new/docs/en/object-relational-mapping/table-options.txt +++ b/manual/new/docs/en/object-relational-mapping/table-options.txt @@ -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); } } \ No newline at end of file