1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/Ticket589.php

14 lines
358 B
PHP
Raw Normal View History

2007-11-09 03:19:14 +03:00
<?php
class Ticket589 extends Doctrine_Record {
2007-11-09 04:17:03 +03:00
public function prepareTables(){}
2007-11-09 03:19:14 +03:00
public function setTableDefinition() {
$this->hasColumn('id', 'integer', 4, array('notnull' => true,
'primary' => true,
2007-11-09 04:17:03 +03:00
'unsigned' => true,
2007-11-09 03:19:14 +03:00
'autoincrement' => true));
$this->hasColumn('name', 'string',50);
}
}