1 schema.inc public DatabaseSchema::__construct(DatabaseConnection $connection)

Constructs a database schema object.

Parameters

DatabaseConnection $connection: The database connection on which tables will be modified.

File

core/includes/database/schema.inc, line 203
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

public function __construct(DatabaseConnection $connection) {
  $this->uniqueIdentifier = uniqid('', TRUE);
  $this->connection = $connection;
}