Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for schema

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
taxonomy_test_schema function core/modules/simpletest/tests/taxonomy_test.install Implements hook_schema().
DatabaseSchema_mysql class core/includes/database/mysql/schema.inc Class to create and manipulate MySQL tables.
database_test_schema function core/modules/simpletest/tests/database_test.install Implements hook_schema().
entity_example_schema function modules/examples/entity_example/entity_example.install Implements hook_schema().
drupal_install_schema function core/includes/drupal.inc Creates all tables defined in a module's hook_schema().
field_retrieve_schema function core/modules/field/field.crud.inc Retrieves the schema for a field.
taxonomy_field_schema function core/modules/taxonomy/taxonomy.install Implements hook_field_schema().
node_access_test_schema function core/modules/node/tests/node_access_test/node_access_test.install Implements hook_schema().
backdrop_install_schema function core/includes/common.inc Creates all tables defined in a module's hook_schema().
drupal_uninstall_schema function core/includes/drupal.inc Removes all tables defined in a module's hook_schema().
hook_field_schema_alter function core/modules/field/field.api.php Allow modules to alter the schema for a field.
field_test_field_schema function core/modules/field/tests/field_test/field_test.install Implements hook_field_schema().
DatabaseSchema::__clone function core/includes/database/schema.inc Implements the magic __clone function.
database_example_schema function modules/examples/database_example/database_example.install Implements hook_schema().
field_sql_storage_schema function core/modules/field/modules/field_sql_storage/field_sql_storage.install Implements hook_schema().
drupal_schema_fields_sql function core/includes/drupal.inc Retrieves a list of fields from a table schema.
FieldSchemaAlterTestCase class core/modules/field/tests/field.test Tests that the field schema can be altered with hook_field_schema_alter().
SchemaCache::__construct function core/includes/bootstrap.inc Constructs a SchemaCache object.
tablesort_example_schema function modules/examples/tablesort_example/tablesort_example.install Implements hook_schema().
DatabaseSchema::addField function core/includes/database/schema.inc Add a new field to a table.
tabledrag_example_schema function modules/examples/tabledrag_example/tabledrag_example.install Implements hook_schema().
DatabaseSchema::addIndex function core/includes/database/schema.inc Add an index.
_field_sql_storage_schema function core/modules/field/modules/field_sql_storage/field_sql_storage.module Return the database schema for a field. This may contain one or more tables. Each table will contain the columns relevant for the specified field. Leave the $field's 'columns' and 'indexes' keys empty to get only the base schema.
backdrop_uninstall_schema function core/includes/common.inc Removes all tables defined in a module's hook_schema().
SchemaTestCase::tryInsert function core/modules/simpletest/tests/schema.test
node_hooks_example_schema function modules/examples/node_hooks_example/node_hooks_example.install Implements hook_schema().
DatabaseSchema::dropTable function core/includes/database/schema.inc Drop a table.
DatabaseSchema::dropField function core/includes/database/schema.inc Drop a field.
DatabaseSchema::dropIndex function core/includes/database/schema.inc Drop an index.
field_example_field_schema function modules/examples/field_example/field_example.install Implements hook_field_schema().
drupal_get_complete_schema function core/includes/drupal.inc Gets the whole database schema.
DatabaseConnection::schema function core/includes/database/database.inc Returns a DatabaseSchema object for manipulating the schema.
backdrop_schema_fields_sql function core/includes/common.inc Retrieves a list of fields from a table schema.
SchemaTestCase::testSchema function core/modules/simpletest/tests/schema.test
node_access_example_schema function modules/examples/node_access_example/node_access_example.install Implements hook_schema().
drupal_get_schema_versions function core/includes/drupal.inc Returns an array of available schema versions for a module.
DatabaseSchema::findTables function core/includes/database/schema.inc Find all tables that are like the specified base table name.
REQUIRED_D7_SCHEMA_VERSION constant core/includes/update.inc Minimum schema version of Drupal 7 required for upgrade to Backdrop.
DatabaseSchema::fieldNames function core/includes/database/schema.inc Return an array of field names from an array of key/index column map.
entity_caching_test_schema function core/modules/entity/tests/entity_caching_test/entity_caching_test.install Implements hook_schema().
DatabaseConnection::$schema property core/includes/database/database.inc The schema object for this connection.
_backdrop_schema_initialize function core/includes/common.inc Fills in required default values for table definitions from hook_schema().
DatabaseSchema::$connection property core/includes/database/schema.inc The current database connection.
DatabaseSchema::__construct function core/includes/database/schema.inc Constructs a database schema object.
DatabaseSchema::tableExists function core/includes/database/schema.inc Check if a table exists.
DatabaseSchema::fieldExists function core/includes/database/schema.inc Check if a column exists in the given table.
DatabaseSchema::renameTable function core/includes/database/schema.inc Rename a table.
DatabaseSchema::indexExists function core/includes/database/schema.inc Checks if an index exists in the given table.
DatabaseSchema::changeField function core/includes/database/schema.inc Change a field definition.
DatabaseSchema::createTable function core/includes/database/schema.inc Create a new table from a Backdrop table definition.

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org