1
0
mirror of synced 2025-01-22 08:11:40 +03:00
doctrine2/tests_old/models/CustomPK.php
2008-02-08 17:41:01 +00:00

8 lines
227 B
PHP

<?php
class CustomPK extends Doctrine_Record {
public static function initMetadata($class) {
$class->setColumn('uid', 'integer',11, 'autoincrement|primary');
$class->setColumn('name', 'string',255);
}
}