1
0
mirror of synced 2024-12-15 07:36:03 +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);
}
}