10 lines
263 B
PHP
10 lines
263 B
PHP
<?php
|
|
class CustomSequenceRecord extends Doctrine_Entity {
|
|
public static function initMetadata($class)
|
|
{
|
|
$class->setColumn('id', 'integer', null, array('primary', 'sequence' => 'custom_seq'));
|
|
$class->setColumn('name', 'string');
|
|
}
|
|
}
|
|
|