diff --git a/user_guide_src/source/changelogs/v4.3.0.rst b/user_guide_src/source/changelogs/v4.3.0.rst index a9b7117d50e0..39c6467595e5 100644 --- a/user_guide_src/source/changelogs/v4.3.0.rst +++ b/user_guide_src/source/changelogs/v4.3.0.rst @@ -72,7 +72,7 @@ Database - SQLite :ref:`BaseConnection::getIndexData() ` now can return pseudo index named ``PRIMARY`` for `AUTOINCREMENT` column, and each returned index data has ``type`` property. - SQLSRV now automatically drops ``DEFAULT`` constraint when using :ref:`Forge::dropColumn() `. - ``BaseConnection::escape()`` now excludes the ``RawSql`` data type. This allows passing SQL strings into data. -- The new method ``Forge::dropPrimaryKey()`` allows dropping the primary key on a table. +- The new method ``Forge::dropPrimaryKey()`` allows dropping the primary key on a table. See :ref:`dropping-a-primary-key`. Model ===== diff --git a/user_guide_src/source/dbmgmt/forge.rst b/user_guide_src/source/dbmgmt/forge.rst index a1ff3ddee123..9193df744292 100644 --- a/user_guide_src/source/dbmgmt/forge.rst +++ b/user_guide_src/source/dbmgmt/forge.rst @@ -229,9 +229,13 @@ Execute a DROP KEY. .. literalinclude:: forge/020.php +.. _dropping-a-primary-key: + Dropping a Primary Key ====================== +.. versionadded:: 4.3.0 + Execute a DROP PRIMARY KEY. .. literalinclude:: forge/028.php