Crate postgresql_schema_upgrader

Crate postgresql_schema_upgrader 

Source
Expand description

§PostgreSQL Schema Upgrader

A library for managing PostgreSQL database schema migrations with safety and integrity in mind. It supports both synchronous (blocking) and asynchronous (Tokio) execution modes.

Structs§

PostgresUpgraderOptions
Options for the PostgreSQL schema upgrader.
PostgresUpgraderOptionsBuilder
A builder for PostgresUpgraderOptions.

Enums§

SslMode
SSL Mode for the PostgreSQL connection.
UpgraderError

Functions§

upgrade_async
Asynchronously applies schema upgrades from the specified folder to the database.
upgrade_blocking
Synchronously applies schema upgrades from the specified folder to the database.