Update to the introduction, described how 3rd and fourth arguements are required and how you can enter null for the third arguement so that you can put in validation.
This commit is contained in:
parent
91ee810ad1
commit
3b5046acd4
@ -39,3 +39,5 @@ class Email extends Doctrine_Record {
|
||||
}
|
||||
}
|
||||
</code>
|
||||
|
||||
Note that validators / column constraints and the column length fields are optional. The length may be omitted by using **null** for the length arguement, allowing doctrine to use a default length and permitting a fourth arguement for validation or column constraints.
|
||||
|
Loading…
x
Reference in New Issue
Block a user