1
0
mirror of synced 2025-01-18 14:31:40 +03:00

11 lines
203 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-16 19:37:51 +00:00
$class->setColumn('address', 'string', 150, array('email', 'unique' => true));
}
}