diff --git a/core/modules/block/block.install b/core/modules/block/block.install index ad7d0d7151e6bcd6e9fe90cb7b992ed7faf47d01..e29af112de8c7f62ba46ce2f54866b5486cf7935 100644 --- a/core/modules/block/block.install +++ b/core/modules/block/block.install @@ -281,12 +281,6 @@ function block_update_8008() { 'indexes' => array( 'format' => array('format'), ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format'), - ), - ), ), ); _update_8003_field_create_field($body_field); diff --git a/core/modules/system/tests/upgrade/drupal-7.field.database.php b/core/modules/system/tests/upgrade/drupal-7.field.database.php index 420dc0b23fb433fdd7a376ab894c2574597156b1..6412fee6f8fa5381451cb015ad7b3a28d426e9f4 100644 --- a/core/modules/system/tests/upgrade/drupal-7.field.database.php +++ b/core/modules/system/tests/upgrade/drupal-7.field.database.php @@ -81,12 +81,6 @@ 'indexes' => array( 'format' => array(0 => 'format') ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format') - ) - ) )), 'cardinality' => 1, 'translatable' => 0, @@ -248,14 +242,6 @@ 'test_shared_field_format', ), ), - 'foreign keys' => array( - 'test_shared_field_format' => array( - 'table' => 'filter_format', - 'columns' => array( - 'test_shared_field_format' => 'format', - ), - ), - ), 'module' => 'field_sql_storage', 'name' => 'field_data_test_shared_field', ); @@ -386,12 +372,6 @@ 'indexes' => array( 'format' => array(0 => 'format') ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format') - ) - ) )), 'cardinality' => 1, 'translatable' => 0, @@ -518,14 +498,6 @@ 'test_deleted_field_format', ), ), - 'foreign keys' => array( - 'test_deleted_field_format' => array( - 'table' => 'filter_format', - 'columns' => array( - 'test_deleted_field_format' => 'format', - ), - ), - ), 'module' => 'field_sql_storage', 'name' => "field_deleted_data_{$field_id}", )); @@ -612,14 +584,6 @@ 'test_deleted_field_format', ), ), - 'foreign keys' => array( - 'test_deleted_field_format' => array( - 'table' => 'filter_format', - 'columns' => array( - 'test_deleted_field_format' => 'format', - ), - ), - ), 'module' => 'field_sql_storage', 'name' => "field_deleted_revision_{$field_id}", )); diff --git a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextItem.php b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextItem.php index ec92b9d13b160930e241fd4a61b209472973cb59..5c3593ef46cf89969de510b51b81a42363dbdeaf 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextItem.php @@ -48,12 +48,6 @@ public static function schema(FieldInterface $field) { 'indexes' => array( 'format' => array('format'), ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format'), - ), - ), ); } diff --git a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextLongItem.php b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextLongItem.php index 37c44450c563776b48f3b7553905a652ae106b3f..9911a93dab42625ede0f542a6763f1befa6a315a 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextLongItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextLongItem.php @@ -45,12 +45,6 @@ public static function schema(FieldInterface $field) { 'indexes' => array( 'format' => array('format'), ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format'), - ), - ), ); } diff --git a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextWithSummaryItem.php b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextWithSummaryItem.php index 0d3c1384b4154fb61a4ca795bf37e28ed28e1409..cd2b72c8cc992981f6813a22745f5d78599220a9 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextWithSummaryItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldType/TextWithSummaryItem.php @@ -83,12 +83,6 @@ public static function schema(FieldInterface $field) { 'indexes' => array( 'format' => array('format'), ), - 'foreign keys' => array( - 'format' => array( - 'table' => 'filter_format', - 'columns' => array('format' => 'format'), - ), - ), ); } diff --git a/core/modules/user/user.install b/core/modules/user/user.install index 8f6cbe2a9245358036a7f2e2b8c0612ec2716133..62d9e17dbd0ac3b99d2377ed2220bc69ac053f58 100644 --- a/core/modules/user/user.install +++ b/core/modules/user/user.install @@ -141,12 +141,6 @@ function user_schema() { 'name' => array('name'), ), 'primary key' => array('uid'), - 'foreign keys' => array( - 'signature_format' => array( - 'table' => 'filter_format', - 'columns' => array('signature_format' => 'format'), - ), - ), ); $schema['users_data'] = array(