Skip to content

Commit 4fdffaa

Browse files
authored
Merge pull request #6363 from kenjis/fix-docs-Forge-createTable
docs: improve Forge::createTable() change description
2 parents 1086703 + cf662be commit 4fdffaa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

user_guide_src/source/changelogs/v4.2.2.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Deprecations
3232

3333
- The parameters of ``Services::request()`` are deprecated.
3434
- The first parameter ``$cacheConfig`` of ``CodeIgniter::gatherOutput()`` is deprecated.
35+
- The second parameter ``$ifNotExists`` of ``Forge::_createTable()`` is deprecated.
3536

3637
Bugs Fixed
3738
**********

user_guide_src/source/installation/upgrade_422.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Web Page Caching Bug Fix
2626
Others
2727
======
2828

29-
- The method ``Forge::createTable()`` no longer executes a ``CREATE TABLE IF NOT EXISTS``. If table is not found in ``$db->tableExists($table)`` then ``CREATE TABLE`` is executed.
29+
- The method ``Forge::createTable()`` no longer executes a ``CREATE TABLE IF NOT EXISTS``. When `$ifNotExists` is true, if the table is not found in ``$db->tableExists($table)`` then ``CREATE TABLE`` is executed.
3030
- The second parameter ``$ifNotExists`` of ``Forge::_createTable()`` is deprecated. It is no longer used and will be removed in a future release.
3131
- When you use :php:func:`random_string` with the first parameter ``'crypto'``, now if you set the second parameter ``$len`` to an odd number, ``InvalidArgumentException`` will be thrown. Change the parameter to an even number.
3232

0 commit comments

Comments
 (0)