1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00
doctrine2/models/CustomPK.php

7 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);
}
}