Skip to main content

Crate ferro_migration

Crate ferro_migration 

Source
Expand description

Backend-portable migration helpers for ferro applications.

These helpers dispatch on SchemaManager::get_database_backend() so a single call works identically on SQLite and Postgres. Use them inside MigrationTrait::up implementations to avoid hand-rolled DbBackend::Sqlite-pinned raw SQL.

See the crate README for the pgcrypto requirement note.

Re-exports§

pub use crate::backfill::backfill;
pub use crate::backfill::backfill_current_timestamp;
pub use crate::backfill::backfill_random_hex;
pub use crate::backfill::backfill_random_uuid;
pub use crate::error::Error;

Modules§

backfill
Backend-portable backfill helpers for SeaORM migrations.
error
Error type for ferro-migration helpers.