You are currently reading the 1.2 documentation. Switch to 2.2  2.1  2.0 

Default Column Options

It is possible to specify an array of default options to be used on every column in your model.

// bootstrap.php

// ...

$manager->setAttribute(Doctrine::ATTR_DEFAULT_COLUMN_OPTIONS,
  array('type' => 'string', 'length' => 255, 'notnull' => true));

Questions and Feedback

If you find a problem with the documentation or have a suggestion, please register and open a ticket.

If you need support or have a technical question, you can post to the user mailing-list.