/** * Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition(). * * Adds a uid column to test the relationships. */ protected function schemaDefinition() { $schema = parent::schemaDefinition(); $schema['views_test_data']['fields']['uid'] = array('description' => "The {users_field_data}.uid of the author of the beatle entry.", 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0); return $schema; }