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