Skip to content

Commit

Permalink
docs(dev): Mention new uniqueness check for index names
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtrichards authored Feb 17, 2024
1 parent 9101311 commit 04de7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developer_manual/basics/storage/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ It makes sense to apply some general tips from the beginning, so you don't have
<?php
$table->setPrimaryKey(['id']);
4. Manually set the name of your indexes. It will help you to manipulate them if needed in the future. Note that the names of the index are "global" database wide in some database platforms. So having generic names can create conflicts.
4. Manually set the name of your indexes. It will help you to manipulate them if needed in the future. Note that the names of the index are "global" database wide in some database platforms so having generic names can create conflicts. We check (as of v28) for uniqueness across all tables at installation time and during updates. This happens *regardless of the in-use database platform* to maintain broad compatibility (and consistency).

.. code-block:: php
Expand Down

0 comments on commit 04de7b5

Please sign in to comment.