diff options
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 0df26a209..12ac62f57 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 />
|