Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Schema.php

function 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/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Add a new field to a table.
Schema::addIndex in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Add an index.
Schema::addPrimaryKey in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Add a primary key.
Schema::addUniqueKey in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Add a unique key.
Schema::changeField in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Change a field definition.

... See full list

File

core/modules/pgsql/src/Driver/Database/pgsql/Schema.php, line 222

Class

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

Namespace

Drupal\pgsql\Driver\Database\pgsql

Code

protected function resetTableInformation($table) {
    $key = $this->defaultSchema . '.' . $this->connection
        ->getPrefix() . $table;
    unset($this->tableInformation[$key]);
}
RSS feed
Powered by Drupal