1
0
mirror of synced 2025-01-19 15:01:40 +03:00

12 lines
261 B
PHP
Raw Normal View History

<?php
2008-02-16 19:37:51 +00:00
class Email extends Doctrine_Record
{
2008-02-16 19:37:51 +00:00
public static function initMetadata($class)
{
2008-02-23 22:04:39 +00:00
$class->setColumn('address', 'string', 150,
array('email', 'unique' => true, 'validators' => array('email', 'unique')));
}
}