1
0
mirror of synced 2025-01-19 15:01:40 +03:00
doctrine2/tests/models/cms/CmsArticle.php
2008-05-06 21:03:31 +00:00

12 lines
344 B
PHP

<?php
class CmsArticle 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('user_id', 'integer', 4);
}
}