Re-exports§
pub use section_tracking::ensure_section_tracking_table;pub use section_tracking::initialize_sections;
Modules§
Functions§
- calculate_
checksum - Calculate checksum for migration content
- ensure_
tracking_ table_ exists - Initialize the migration tracking table in the database
- format_
tracking_ table_ name - Safely format a schema-qualified table name for SQL queries This prevents SQL injection by properly escaping SQL identifiers
- record_
baseline_ as_ applied - Insert a baseline record into the migration tracking table
- version_
from_ db - Safely convert migration version from i64 database storage to u64 Handles negative values (which shouldn’t exist) gracefully
- version_
to_ db - Safely convert migration version from u64 to i64 for database storage Migration versions are Unix timestamps, which will exceed i64::MAX around year 2262