Crate schema_connector

source ·
Expand description

This crate defines the API exposed by the connectors to the schema engine core. The entry point for this API is the MigrationConnector trait.

Re-exports

Modules

Structs

Enums

Traits

  • An abstract host for a migration connector. It exposes IO that is not directly performed by the connectors.
  • Implementors of this trait are responsible for checking whether a migration could lead to data loss, or if it would be potentially unexecutable.
  • Management of imperative migrations state in the database.
  • The top-level trait for connectors. This is the abstraction the schema engine core relies on to interface with different database backends.

Type Aliases