31 lines
686 B
PHP
31 lines
686 B
PHP
<?php
|
|
/*
|
|
* Base class; DO NOT EDIT
|
|
*
|
|
* auto-generated by the sfDoctrine plugin
|
|
*/
|
|
class BaseBlogPost extends sfDoctrineRecord
|
|
{
|
|
|
|
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('blog_post');
|
|
|
|
$this->hasColumn('id', 'integer', 4, array ( 'primary' => true, 'autoincrement' => true,));
|
|
$this->hasColumn('created_at', 'timestamp', null, array ());
|
|
$this->hasColumn('updated_at', 'timestamp', null, array ());
|
|
$this->hasColumn('name', 'string', 255, array ());
|
|
$this->hasColumn('slug', 'string', 255, array ( 'unique' => true,));
|
|
$this->hasColumn('body', 'clob', null, array ());
|
|
}
|
|
|
|
|
|
|
|
public function setUp()
|
|
{
|
|
|
|
}
|
|
|
|
}
|