Registry / devops / directus-extension-schema-management-module

directus-extension-schema-management-module

JSON →
library2.0.1jsnpmunverified

Directus extension module (v2.0.1) providing a UI to export and import schema definitions as code between Directus instances. Supports custom collections, schema presets for rapid setup, and lightweight operation with no third-party dependencies. Released under MIT license with active maintenance on GitHub. Differentiates from manual schema migration by enabling copy-paste schema sharing.

npm install directus-extension-schema-management-module
INSTALL
IMPORT
SIG · DIRECTUS-EXTENSION
D
directus-extension-schema-management-module
devopsjavascriptv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
No JS import needed; install as Directus extension
import SchemaManagementModule from 'directus-extension-schema-management-module'
This is a Directus extension module, not a standard npm package. It is loaded automatically by Directus when added to the extensions folder.

Install the extension and configure Directus to load the schema management module.

npm install directus-extension-schema-management-module # Then add to Directus extensions: copy node_modules/directus-extension-schema-management-module to your Directus extensions directory # Or configure in .env: EXTENSIONS=directus-extension-schema-management-module
Debug
Known issues
gotchaExport/import only works between Directus instances with compatible schema engines (Directus >=9.0.0).
fix
Ensure both source and target Directus versions are compatible.
affects: >=2.0.0
breakingVersion 1.x used a different module registration mechanism. Update module configuration for v2.
fix
Reinstall extension and re-enable module in Settings.
affects: >=2.0.0
deprecatedThe 'presets' feature is experimental and may change in future releases.
fix
Review preset schema definitions before importing.
affects: >=2.0.0
Errors
Common errors & fixes
Module not found: directus-extension-schema-management-module
Extension not installed or not placed in the extensions directory
fix
Run 'npm install directus-extension-schema-management-module' and copy the module to your Directus extensions folder.
Cannot read property 'collections' of undefined in schema export
No collections selected or permissions misconfigured
fix
Select at least one collection before exporting and ensure you have admin privileges.
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies
directusoptionalPeer dependency: requires Directus (>=9.0.0) as the host application
Agent activity
8 hits · last 30 days
node
8
Resources
directus-extension-schema-management-module — npm install directus-extension-schema-management-module · libregistry