diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-05-17 19:31:56 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-05-17 19:31:56 +0200 |
commit | 15572d4deafcfc6ce05b55427cd54c4ab3a78f97 (patch) | |
tree | b662fb4ecfe08a1106409156ef3580b57822110c /user_guide/database | |
parent | 23df94da0cb01d57e5418cbf8a7c9806f42f370a (diff) |
example touch up
Diffstat (limited to 'user_guide/database')
-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 />
|