Schema API |
group |
includes/database.inc |
A Drupal schema definition is an array structure representing one or
more tables and their related keys and indexes. A schema is defined by
hook_schema(), which usually lives in a modulename.install file. |
book_schema |
function |
modules/book/book.install |
Implementation of hook_schema(). |
menu_schema |
function |
modules/menu/menu.install |
Implementation of hook_schema(). |
poll_schema |
function |
modules/poll/poll.install |
Implementation of hook_schema(). |
node_schema |
function |
modules/node/node.install |
Implementation of hook_schema(). |
user_schema |
function |
modules/user/user.install |
Implementation of hook_schema(). |
hook_schema |
function |
developer/hooks/install.php |
Define the current version of the database schema. |
dblog_schema |
function |
modules/dblog/dblog.install |
Implementation of hook_schema(). |
block_schema |
function |
modules/block/block.install |
Implementation of hook_schema(). |
forum_schema |
function |
modules/forum/forum.install |
Implementation of hook_schema(). |
openid_schema |
function |
modules/openid/openid.install |
Implementation of hook_schema(). |
system_schema |
function |
modules/system/system.install |
Implementation of hook_schema(). |
update_schema |
function |
modules/update/update.install |
Implementation of hook_schema(). |
search_schema |
function |
modules/search/search.install |
Implementation of hook_schema(). |
locale_schema |
function |
modules/locale/locale.install |
Implementation of hook_schema(). |
filter_schema |
function |
modules/filter/filter.install |
Implementation of hook_schema(). |
upload_schema |
function |
modules/upload/upload.install |
Implementation of hook_schema(). |
blogapi_schema |
function |
modules/blogapi/blogapi.install |
Implementation of hook_schema(). |
profile_schema |
function |
modules/profile/profile.install |
Implementation of hook_schema(). |
comment_schema |
function |
modules/comment/comment.install |
Implementation of hook_schema(). |
trigger_schema |
function |
modules/trigger/trigger.install |
Implementation of hook_schema(). |
contact_schema |
function |
modules/contact/contact.install |
Implementation of hook_schema(). |
taxonomy_schema |
function |
modules/taxonomy/taxonomy.install |
Implementation of hook_schema(). |
SCHEMA_INSTALLED |
constant |
includes/install.inc |
|
statistics_schema |
function |
modules/statistics/statistics.install |
Implementation of hook_schema(). |
drupal_get_schema |
function |
includes/common.inc |
Get the schema definition of a table, or the whole database schema. |
hook_schema_alter |
function |
developer/hooks/core.php |
Performs alterations to existing database schemas. |
aggregator_schema |
function |
modules/aggregator/aggregator.install |
Implementation of hook_schema(). |
SCHEMA_UNINSTALLED |
constant |
includes/install.inc |
|
drupal_install_schema |
function |
includes/common.inc |
Create all tables that a module defines in its hook_schema(). |
drupal_uninstall_schema |
function |
includes/common.inc |
Remove all tables that a module defines in its hook_schema(). |
drupal_schema_fields_sql |
function |
includes/common.inc |
Retrieve a list of fields from a table schema. The list is suitable for use in a SQL query. |
_drupal_initialize_schema |
function |
includes/common.inc |
Fill in required default values for table definitions returned by hook_schema(). |
drupal_get_schema_versions |
function |
includes/install.inc |
Returns an array of available schema versions for a module. |
drupal_get_schema_unprocessed |
function |
includes/common.inc |
Returns the unprocessed and unaltered version of a module's schema. |
drupal_get_installed_schema_version |
function |
includes/install.inc |
Returns the currently installed schema version for a module. |
drupal_set_installed_schema_version |
function |
includes/install.inc |
Update the installed version information for a module. |