diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-07-25 22:49:41 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-07-25 22:49:41 +0200 |
commit | e3b8749f766e09ff55ad047b33c047149c9e249c (patch) | |
tree | 65b0aabc165bf363d92d32c6635db952131c70b0 /user_guide/database | |
parent | 5f171c8ce895a42774c6de98f7f984ab4373e9e4 (diff) |
quotes to an example in DBforge
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 />
|