CustomPK.php 218 Bytes
Newer Older
1 2 3 4 5 6 7
<?php
class CustomPK extends Doctrine_Record {
    public function setTableDefinition() {
        $this->hasColumn('uid', 'integer',11, 'autoincrement|primary');
        $this->hasColumn('name', 'string',255);
    }
}