1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/Email.php

11 lines
187 B
PHP

<?php
class Email extends Doctrine_Record
{
public static function initMetadata($class)
{
$class->setColumn('address', 'string', 150, 'email|unique');
}
}