Skip to main content

list_migration_files

Function list_migration_files 

Source
pub fn list_migration_files(project_root: &Path) -> Result<BTreeSet<String>>
Expand description

list_asset_files for the project’s migrations/ folder (#2608), except that a symbolic link or other non-regular entry is listed too, unfollowed. An asset nothing declares can be skipped quietly, but a skipped migration is a schema change that never runs, so the listing keeps it and reading it is refused (AssetFolder::read), which the checker reports.