1
//! Idempotent data changes run on every tenant after its migrations.
2
//!
3
//! Shared migrations stay DDL-only, so a change to existing rows is a job here:
4
//! it runs on the claim connection, in one transaction, and a rerun changes
5
//! nothing.
6

            
7
use crate::db::DBError;
8
use sqlx::PgConnection;
9

            
10
pub(crate) mod cross_price;
11
mod tag_trim;
12

            
13
7382
pub(crate) async fn run(conn: &mut PgConnection) -> Result<(), DBError> {
14
7382
    tag_trim::run(conn).await?;
15
7202
    cross_price::run(conn).await
16
7382
}