1
0
mirror of synced 2025-01-20 23:41:39 +03:00
doctrine2/models/BlogTag.php

11 lines
285 B
PHP
Raw Normal View History

<?php
class BlogTag extends Doctrine_Record
{
public static function initMetadata($class)
2007-09-20 20:31:49 +00:00
{
$class->setColumn('name', 'string', 100);
$class->setColumn('description', 'string');
$class->hasOne('Blog', array('onDelete' => 'CASCADE'));
2007-09-20 20:31:49 +00:00
}
}