Search for schema

  1. Search 7.x for schema
  2. Search 9.5.x for schema
  3. Search 8.9.x for schema
  4. Search 10.3.x for schema
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Schema class core/modules/sqlite/src/Driver/Database/sqlite/Schema.php SQLite implementation of \Drupal\Core\Database\Schema.
Schema class core/modules/mysql/src/Driver/Database/mysql/Schema.php MySQL implementation of \Drupal\Core\Database\Schema.
Schema class core/modules/pgsql/src/Driver/Database/pgsql/Schema.php PostgreSQL implementation of \Drupal\Core\Database\Schema.
Schema class core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php A very minimal class for testing purposes.
Schema class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Schema.
Schema class core/lib/Drupal/Core/Database/Schema.php Provides a base implementation for Database Schema.

All search results

Title Object type File name Summary
DriverSpecificSchemaTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
DriverSpecificSchemaTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Connection to the database.
DriverSpecificSchemaTestBase::$counter property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php A global counter for table and field creation.
DriverSpecificSchemaTestBase::$schema property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Database schema instance.
DriverSpecificSchemaTestBase::assertCollation function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that fields have the correct collation, if supported.
DriverSpecificSchemaTestBase::assertFieldAdditionRemoval function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a given field can be added and removed from a table.
DriverSpecificSchemaTestBase::assertFieldChange function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a field can be changed from one spec to another.
DriverSpecificSchemaTestBase::assertFieldCharacteristics function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a newly added field has the correct characteristics.
DriverSpecificSchemaTestBase::checkSchemaComment function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Checks that a table or column comment matches a given description.
DriverSpecificSchemaTestBase::checkSequenceRenaming function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Check that the ID sequence gets renamed when the table is renamed.
DriverSpecificSchemaTestBase::providerTestSchemaCreateTablePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Provides test cases for SchemaTest::testSchemaCreateTablePrimaryKey().
DriverSpecificSchemaTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
DriverSpecificSchemaTestBase::testChangePrimaryKeyToSerial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests converting an int to a serial when the int column has data.
DriverSpecificSchemaTestBase::testChangeSerialFieldLength function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing a field length.
DriverSpecificSchemaTestBase::testDefaultAfterAlter function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests default values after altering table.
DriverSpecificSchemaTestBase::testFindPrimaryKeyColumns function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php @covers ::findPrimaryKeyColumns
DriverSpecificSchemaTestBase::testFindTables function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests the findTables() method.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyAddition function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests adding an invalid field specification as a primary key.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyChange function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing the primary key with an invalid field specification.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyOnTableCreation function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests an invalid field specification as a primary key on table creation.
DriverSpecificSchemaTestBase::testReservedKeywordsForNaming function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests handling with reserved keywords for naming tables, fields and more.
DriverSpecificSchemaTestBase::testSchema function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests database interactions.
DriverSpecificSchemaTestBase::testSchemaAddFieldDefaultInitial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests adding columns to an existing table with default and initial value.
DriverSpecificSchemaTestBase::testSchemaChangeFieldDefaultInitial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing columns between types with default and initial values.
DriverSpecificSchemaTestBase::testSchemaChangePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests various schema changes' effect on the table's primary key.
DriverSpecificSchemaTestBase::testTableWithSpecificDataType function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests creating a table with database specific data type.
DriverSpecificSchemaTestBase::testUnsignedColumns function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests creating unsigned columns and data integrity thereof.
DriverSpecificSchemaTestBase::testUpperCaseTableName function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests handling of uppercase table names.
DriverSpecificSchemaTestBase::tryInsert function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests inserting data into an existing table.
DriverSpecificSchemaTestBase::tryInsertExpectsIntegrityConstraintViolationException function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tries to insert a value that throws an IntegrityConstraintViolationException.
DriverSpecificSchemaTestBase::tryUnsignedInsert function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tries to insert a negative value into columns defined as unsigned.
drupal-8.update-schema-version-int.php file core/modules/system/tests/fixtures/update/drupal-8.update-schema-version-int.php Database to mimic the installation of the update_test_schema module.
drupal-8.update-test-schema-enabled.php file core/modules/system/tests/fixtures/update/drupal-8.update-test-schema-enabled.php Partial database to mimic the installation of the update_test_schema module.
Drupal6SqlBaseTest::testGetModuleSchemaVersion function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::getModuleSchemaVersion().
Drupal::CORE_MINIMUM_SCHEMA_VERSION constant core/lib/Drupal.php Core minimum schema version.
DrupalSqlBase::getModuleSchemaVersion function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Retrieves a module schema_version from the source Drupal database.
Drupal\sdc\Component\SchemaCompatibilityChecker service core/modules/sdc/sdc.services.yml
DummyAjaxItem::schema function core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldType/DummyAjaxItem.php Returns the schema for the field.
DynamicallyFieldableEntityStorageSchemaInterface interface core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php A storage schema that supports entity types with dynamic field definitions.
DynamicallyFieldableEntityStorageSchemaInterface.php file core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php
DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge function core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php Performs final cleanup after all data of a field has been purged.
DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldDataMigration function core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php Checks if existing data would be lost if the schema changes were applied.
DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldStorageSchemaChanges function core/lib/Drupal/Core/Entity/Schema/DynamicallyFieldableEntityStorageSchemaInterface.php Checks if the changes to the storage definition requires schema changes.
editor.schema.yml file core/modules/editor/config/schema/editor.schema.yml core/modules/editor/config/schema/editor.schema.yml
editor_test.schema.yml file core/modules/editor/tests/modules/editor_test/config/schema/editor_test.schema.yml core/modules/editor/tests/modules/editor_test/config/schema/editor_test.schema.yml
EmailItem::schema function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php Returns the schema for the field.
EntityDefinitionUpdateManager::$entityLastInstalledSchemaRepository property core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php The last installed schema repository.
EntityDefinitionUpdateManager::requiresEntityStorageSchemaChanges function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Checks if the changes to the entity type requires storage schema changes.
EntityDefinitionUpdateManager::requiresFieldStorageSchemaChanges function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Checks if the changes to the storage definition requires schema changes.
EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests updating a bundle field when the entity type schema has changed.

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