vespertide_macro/runtime.rs
1use crate::MigrationOptions;
2
3#[derive(thiserror::Error, Debug)]
4pub enum MigrationError {
5 #[error("migration execution is not yet implemented")]
6 NotImplemented,
7}
8
9pub async fn run_migrations<P>(_pool: P, _options: MigrationOptions) -> Result<(), MigrationError> {
10 // TODO: Generate and execute migration SQL from JSON/YAML plans.
11 Err(MigrationError::NotImplemented)
12}