- Fixed typo in column declarations.
This commit is contained in:
parent
80bb1ed071
commit
0ac4d757c7
@ -66,9 +66,9 @@ class Doctrine_Template_Timestampable extends Doctrine_Template
|
||||
*/
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->hasColumn($this->_options['created']['name'], $this->_options['created']['type'], null, $this->_options['created']['name']);
|
||||
$this->hasColumn($this->_options['updated']['name'], $this->_options['updated']['type'], null, $this->_options['updated']['name']);
|
||||
$this->hasColumn($this->_options['created']['name'], $this->_options['created']['type'], null, $this->_options['created']['options']);
|
||||
$this->hasColumn($this->_options['updated']['name'], $this->_options['updated']['type'], null, $this->_options['updated']['options']);
|
||||
|
||||
$this->addListener(new Doctrine_Template_Listener_Timestampable($this->_options));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user