Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(
    palette: Palette,
    database: Arc<Database>,
) -> Result<(), CliError>
Expand description

acme-proxy migrate — applies the embedded migrations and reports what it did.

Idempotent: sqlx tracks each file by version and checksum, so a database already current is a no-op that says so.