Skip to main content

legacy_adoption_schema

Function legacy_adoption_schema 

Source
pub fn legacy_adoption_schema(
    contract: &AppDataContract,
) -> Result<Option<AppSchema>, DatabaseError>
Expand description

Reconstructs the schema at the end of the historical migration prefix. Later logical migrations must not be required in an existing populated database.