From 0bb0e50151ce7f46b40d8e905888279b3728f72f Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 27 Mar 2008 12:08:34 +0000 Subject: typo --- user_guide/database/forge.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide') diff --git a/user_guide/database/forge.html b/user_guide/database/forge.html index 4b0588c6c..f21591c7f 100644 --- a/user_guide/database/forge.html +++ b/user_guide/database/forge.html @@ -148,8 +148,8 @@ already be running, since the forge class relies on it.

                                                 'type' => 'TEXT',
                                                 'null' => TRUE,
                                          ),
-                )
- );

+                );
+

After the fields have been defined, they can be added using $this->dbforge->add_field($fields); followed by a call to the create_table() function.

$this->dbforge->add_field()

The add fields function will accept the above array.

-- cgit v1.2.3-24-g4f1b