Y2038TimestampUpdateTest::$tables

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php \Drupal\Tests\system\Functional\Update\Y2038TimestampUpdateTest::tables

The tables and column name of the time fields.

The key is the table name and the values are the names of the time fields.

Type: string[][]

File

core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php, line 36

Class

Y2038TimestampUpdateTest
Tests update of timestamp fields to bigint.

Namespace

Drupal\Tests\system\Functional\Update

Code

protected $tables = [
  'comment_entity_statistics' => [
    'last_comment_timestamp',
  ],
  'forum_index' => [
    'created',
    'last_comment_timestamp',
  ],
  'history' => [
    'timestamp',
  ],
  'locale_file' => [
    'timestamp',
    'last_checked',
  ],
  'node_counter' => [
    'timestamp',
  ],
  'sessions' => [
    'timestamp',
  ],
  'tracker_node' => [
    'changed',
  ],
  'tracker_user' => [
    'changed',
  ],
  'watchdog' => [
    'timestamp',
  ],
  'batch' => [
    'timestamp',
  ],
  'queue' => [
    'created',
    'expire',
  ],
  'flood' => [
    'expiration',
    'timestamp',
  ],
];

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