rusty_commit/config/migrations.rs
1use crate::config::Config;
2use anyhow::Result;
3
4pub fn run_migrations() -> Result<()> {
5 // For now, just ensure config exists
6 let _config = Config::load()?;
7
8 // Future migrations can be added here
9 // Example:
10 // migrate_v1_to_v2(&mut config)?;
11 // migrate_v2_to_v3(&mut config)?;
12
13 Ok(())
14}