1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/BlogTag.php
2007-09-20 20:31:49 +00:00

14 lines
314 B
PHP

<?php
class BlogTag extends Doctrine_Record
{
public function setTableDefinition()
{
$this->hasColumn('name', 'string', 100);
$this->hasColumn('description', 'string');
}
public function setUp()
{
$this->hasOne('Blog', array('onDelete' => 'CASCADE'));
}
}