diff options
-rw-r--r-- | user_guide/database/forge.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/forge.html b/user_guide/database/forge.html index f3b6c2dd0..f9363f4e3 100644 --- a/user_guide/database/forge.html +++ b/user_guide/database/forge.html @@ -116,7 +116,7 @@ already be running, since the forge class relies on it.</p> <p>Fields are created via an associative array. Within the array you must include a 'type' key that relates to the datatype of the field. For example, INT, VARCHAR, TEXT, etc. Many datatypes (for example VARCHAR) also require a 'constraint' key.</p>
<p><code>$fields = array(<br />
'users' => array(<br />
- 'type' => 'varchar',<br />
+ 'type' => VARCHAR,<br />
'constraint' => '100',<br />
),<br />
);<br />
|