Part of the EllisLab Network

Bug Report

database/forge.html add_column sample

Date: 04/13/2008 Severity: Trivial
Status: Resolved Reporter: Kenji @ CodeIgniter Users Group in Japan
Version: 1.6.2 SVN
Keywords: User Guide, Typos

Description

$fields = array(
‘preferences’ => array(’type’ => ‘TEXT’)
);
$this->dbforge->add_column(’table_name’, $fields);

// gives ALTER TABLE sites ADD preferences TEXT

Comment must be

// gives ALTER TABLE table_name ADD preferences TEXT

Expected Result

Actual Result

Comment on Bug Report

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?