SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys

protected SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys()

Returns a list of column schema keys affecting data storage.

When comparing schema definitions, only changes in certain properties actually affect how data is stored and thus, if applied, may imply data manipulation.

Return value

string[] An array of key names.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1980

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

protected function getColumnSchemaRelevantKeys() {
  return ['type', 'size', 'length', 'unsigned'];
}
doc_Drupal
2016-10-29 09:43:37
Comments
Leave a Comment

Please login to continue.