_table = '@__chatlogs'; $this->_id = 'id'; /*Let's associate it with posts*/ $this->_alias = 'waic_chatlogs'; $this->_addField('id', 'text', 'int') ->_addField('his_id', 'text', 'int') ->_addField('question', 'text', 'text') ->_addField('answer', 'text', 'text') ->_addField('file', 'text', 'text') ->_addField('status', 'text', 'int'); } }