diff options
-rw-r--r-- | user_guide_src/source/database/forge.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/user_guide_src/source/database/forge.rst b/user_guide_src/source/database/forge.rst index a875f7418..a98cdb012 100644 --- a/user_guide_src/source/database/forge.rst +++ b/user_guide_src/source/database/forge.rst @@ -143,6 +143,8 @@ string into the field definitions with add_field() $this->dbforge->add_field("label varchar(100) NOT NULL DEFAULT 'default label'"); +.. note:: Passing strings as fields won't allow you to follow these calls by a add_key() call. + .. note:: Multiple calls to add_field() are cumulative. Creating an id field |