Skip to main content

double_files

Function double_files 

Source
pub fn double_files<'a>(
    migrations: &'a D1Migrations,
    cap: &str,
    d1_database: Option<String>,
) -> Option<&'a [MigrationFile]>
Expand description

The Postgres test double’s database, as test emitters look it up: the project’s schema.sql for a Postgres instance, the migrations of a D1 database named d1_database otherwise (#3321, P4b #2608).