Skip to main content

Module schema_plugins

Module schema_plugins 

Source
Expand description

Default official plugin instances for CLI schema and migration planning.

These builders use development-friendly defaults so rustauth db can derive the same database shape as a typical integration without custom app wiring.

Constants§

APP_CONFIGURED_SCHEMA_PLUGIN_IDS
Plugin ids whose database shape depends on per-app field configuration.
NO_FIXED_SCHEMA_PLUGIN_IDS
Plugin ids that may be enabled in an app but never contribute fixed database DDL.

Functions§

configured_official_schema_plugins
Instantiate official schema plugins for the ids configured in rustauth.toml.
is_official_schema_plugin
Returns true when plugin_id is recognized by official_schema_plugin.
official_schema_plugin
Build a schema-planning plugin instance with official defaults, when the plugin contributes database schema.
official_schema_plugin_ids
All plugin ids that official_schema_plugin can materialize for schema planning.