public function __construct($conn) { parent::__construct($conn); /** * Auto increment. */ $this->columnTypes['autoincrement'] = 'int(11) NOT NULL AUTO_INCREMENT'; $this->columnTypes['longbinary'] = 'longblob'; }
/** * Constructor. * * @param \CDbConnection $conn The database connection. */ public function __construct($conn) { parent::__construct($conn); $this->columnTypes['mediumtext'] = 'mediumtext'; }