Lines
100 %
Functions
Branches
//! Idempotent data changes run on every tenant after its migrations.
//!
//! Shared migrations stay DDL-only, so a change to existing rows is a job here:
//! it runs on the claim connection, in one transaction, and a rerun changes
//! nothing.
use crate::db::DBError;
use sqlx::PgConnection;
pub(crate) mod cross_price;
mod tag_trim;
pub(crate) async fn run(conn: &mut PgConnection) -> Result<(), DBError> {
tag_trim::run(conn).await?;
cross_price::run(conn).await
}