Skip to main content

validate_migration_id

Function validate_migration_id 

Source
pub fn validate_migration_id(id: &str) -> EFResult<()>
Expand description

Validates a migration id used as a directory name and history key.

Rejects empty ids, path separators, .., drive letters, control characters, and ids longer than the history table’s 150-character column.