Schema API functions

Last updated on
13 October 2016

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

The Schema API defines a number of functions for manipulating the database schema. These functions all operate directly on the database at the time they are called. They are generally most useful in writing hook_update_N() functions which need to incrementally update a database from one schema to another.

A full list of Schema API functions is available here.

Help improve this page

Page status: No known problems

You can: