Drupal is a registered trademark of Dries Buytaert

schema_viewer

2 sites No security coverage
View on drupal.org


Schema Viewer is a lightweight Drupal development tool that allows site builders and developers to browse database table structures from the admin interface. The module offers an autocomplete-based UI to select a table and view its full schema—fields, types, lengths, nullability, and indexes—making it easier to debug, develop custom features, and understand how Drupal maps data to database tables.

Ideal for custom module developers, site architects, and teams working with complex entity structures or integrations.

Admin Steps to Use Schema Viewer Module

Install the Module

Place the schema_viewer module inside your Drupal site's modules/custom directory.

Enable it using the Drupal UI at:

Admin > Extend (/admin/modules) → Search and check Schema Viewer, then click Install.
Or use Drush:
drush en schema_viewer -y

Access the Schema Viewer Page

Go to:
Admin > Configuration > Development > Schema Viewer
or
Direct URL:
/admin/config/development/schema-viewer

View Table Schema

Use the autocomplete field to enter a table name (e.g., node, users_field_data, etc.).

Once selected, the module will display the schema structure of that table: field names, data types, sizes, and constraints.

Permissions (Optional)

To control access, navigate to:
Admin > People > Permissions
and grant the "Access Schema Viewer" permission to appropriate roles (like administrator or developer).

Activity

Total releases
3
First release
Jul 2025
Latest release
7 months ago
Release cadence
1 day
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Jul 24, 2025
1.0.0 Stable Jul 23, 2025
1.0.x-dev Dev Jul 23, 2025