Search for addUniqueKey

  1. Search 7.x for addUniqueKey
  2. Search 9.5.x for addUniqueKey
  3. Search 8.9.x for addUniqueKey
  4. Search 10.3.x for addUniqueKey
  5. Other projects
Title Object type File name Summary
Schema::addUniqueKey function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Add a unique key.
Schema::addUniqueKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php Add a unique key.
Schema::addUniqueKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Add a unique key.
Schema::addUniqueKey function core/lib/Drupal/Core/Database/Schema.php Add a unique key.
SchemaUniquePrefixedKeysIndexTestBase::testAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a UNIQUE key to an existing table.
SqlContentEntityStorageSchema::addUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates a unique key, dropping it if already existing.
StubSchema::addUniqueKey function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php Add a unique key.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.