From 75eedf56b0c4bac55c3160747a500ee788cbfc18 Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Sun, 13 Apr 2008 12:49:54 +0000
Subject: A field fields were incorrectly commented, and or examples invalid.
---
user_guide/database/forge.html | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'user_guide')
diff --git a/user_guide/database/forge.html b/user_guide/database/forge.html
index 655ab96c1..ecb14570d 100644
--- a/user_guide/database/forge.html
+++ b/user_guide/database/forge.html
@@ -2,7 +2,7 @@
-CodeIgniter User Guide : Database Utility Class
+CodeIgniter User Guide : Database Forge Class
@@ -124,10 +124,10 @@ already be running, since the forge class relies on it.
// will translate to "users VARCHAR(100)" when the field is added.
Additionally, the following key/values can be used:
-
unsigned/true : to generate "UNSIGNED" in the field definition
-
default/value : to generate a default value in the field definition
-
null/true : to generate "NULL" in the field definition. Without this, the field will default to "NOT NULL"
-
auto_increment/true : generates an auto_increment flag on the field. Note that the field type must integer
+
unsigned/true : to generate "UNSIGNED" in the field definition.
+
default/value : to generate a default value in the field definition.
+
null/true : to generate "NULL" in the field definition. Without this, the field will default to "NOT NULL".
+
auto_increment/true : generates an auto_increment flag on the field. Note that the field type must be a type that supports this, such as integer.