Schema

Slug: 
schema
Versions de Drupal: 
5.x
6.x
7.x
D.o - Installation Rank: 
117
D.o - Reported Installs: 
7 667
D.o - Maintenance Status: 
Seeking new maintainer
D.o - Development Status: 
Maintenance fixes only
D.o - Module Categories: 
Administration, Developer
D.o - Download 5.x: 
5.x-1.1|http://ftp.drupal.org/files/projects/schema-5.x-1.1.tar.gz|24.95 KB
D.o - Download 6.x: 
6.x-1.7|http://ftp.drupal.org/files/projects/schema-6.x-1.7.tar.gz|22.78 KB
D.o - Download 7.x: 
7.x-1.0-beta3|http://ftp.drupal.org/files/projects/schema-7.x-1.0-beta3.tar.gz|22.14 KB
D.o - Original Description: 

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.

The Schema module provides additional Schema-related functionality not provided by the core Schema API that is useful for module developers. Currently, this includes:

  • Schema documentation: hyperlinked display of the schema's embedded documentation explaining what each table and field is for.
  • Schema structure generation: the module examines the live database and creates Schema API data structures for all tables that match the live database.
  • Schema comparison: the module compares the live database structure with the schema structure declared by all enabled modules, reporting on any missing or incorrect tables.

Note for MySQL users: The Schema module requires MySQL 5. Prior versions of MySQL do not support the INFORMATION_SCHEMA database that the Schema module uses to inspect the database.

S'abonner à DrupalFrance.com RSS