Schema.php

Same filename in this branch
  1. 9 core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
  2. 9 core/modules/mysql/src/Driver/Database/mysql/Schema.php
  3. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Schema.php
  4. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Schema.php
  5. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Schema.php
  6. 9 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
  7. 9 core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php
  8. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Schema.php
  9. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
  10. 9 core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
  11. 9 core/lib/Drupal/Core/Database/Schema.php
Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Schema.php
  2. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Schema.php
  3. 8.9.x core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php
  4. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
  5. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
  6. 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
  7. 8.9.x core/lib/Drupal/Core/Database/Schema.php
  8. 10 core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
  9. 10 core/modules/mysql/src/Driver/Database/mysql/Schema.php
  10. 10 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
  11. 10 core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php
  12. 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php
  13. 10 core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
  14. 10 core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
  15. 10 core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
  16. 10 core/lib/Drupal/Core/Database/Schema.php
  17. 11.x core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
  18. 11.x core/modules/mysql/src/Driver/Database/mysql/Schema.php
  19. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
  20. 11.x core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php
  21. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php
  22. 11.x core/lib/Drupal/Core/Database/Schema.php

Namespace

Drupal\Core\Database\Driver\mysql

File

core/lib/Drupal/Core/Database/Driver/mysql/Schema.php

View source
<?php

namespace Drupal\Core\Database\Driver\mysql;

use Drupal\mysql\Driver\Database\mysql\Schema as MysqlSchema;
@trigger_error('\\Drupal\\Core\\Database\\Driver\\mysql\\Schema is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. See https://www.drupal.org/node/3129492', E_USER_DEPRECATED);

/**
 * MySQL implementation of \Drupal\Core\Database\Schema.
 *
 * @deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL
 *   database driver has been moved to the mysql module.
 *
 * @see https://www.drupal.org/node/3129492
 */
class Schema extends MysqlSchema {

}

Classes

Title Deprecated Summary
Schema

in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module.

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

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