1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/models/CustomPK.php

8 lines
218 B
PHP
Raw Normal View History

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