1
0
mirror of synced 2025-01-19 06:51:40 +03:00
doctrine2/tests/models/cms/CmsComment.php

12 lines
347 B
PHP
Raw Normal View History

2008-05-08 14:17:35 +00:00
<?php
class CmsComment extends Doctrine_Record
{
public static function initMetadata($class)
{
$class->mapColumn('id', 'integer', 4, array('primary' => true, 'autoincrement' => true));
$class->mapColumn('topic', 'string', 255);
$class->mapColumn('text', 'string');
$class->mapColumn('article_id', 'integer', 4);
}
}