You are here

protected function Schema::resetTableInformation in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php \Drupal\Core\Database\Driver\pgsql\Schema::resetTableInformation()

Resets information about table blobs, sequences and serial fields.

Parameters

$table: The non-prefixed name of the table.

11 calls to Schema::resetTableInformation()
Schema::addField in core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Add a new field to a table.
Schema::addIndex in core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Add an index.
Schema::addPrimaryKey in core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Add a primary key.
Schema::addUniqueKey in core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Add a unique key.
Schema::changeField in core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Change a field definition.

... See full list

File

core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 199

Class

Schema
PostgreSQL implementation of \Drupal\Core\Database\Schema.

Namespace

Drupal\Core\Database\Driver\pgsql

Code

protected function resetTableInformation($table) {
  $key = $this->connection
    ->prefixTables('{' . $table . '}');
  if (strpos($key, '.') === FALSE) {
    $key = 'public.' . $key;
  }
  unset($this->tableInformation[$key]);
}