Last updated October 10, 2007.

Introduced in Drupal 6, the Schema API allows modules to declare their database tables in a structured array (similar to the Form API) and provides API functions for creating, dropping, and changing tables, columns, keys, and indexes. This session covered:

  • the rationale, design, and benefits of the Schema API and data structure,
  • how modules should use the Schema API to create tables,
  • how to integrate the Schema API with the module update mechanism (hook_update_N), and
  • future directions and goals for Schema API and related functionality.

The slides for this session are available at http://jaspan.com/alive-kicking-and-speaking-barcelona.

About this page

Drupal version
Drupal 6.x

Getting Involved Guide

nobody click here