// Copyright (c) 2026 Kirky.X
//
// Licensed under the MIT License
// See LICENSE file in the project root for full license information.

//! 数据库迁移模块
//!
//! 提供数据库迁移功能，包括迁移文件解析、执行、版本管理等

/// 列变更操作模块
///
/// 提供数据库列变更的类型定义和操作
pub mod column_changes;
mod differ;
mod executor;
pub mod metadata;
mod schema;
#[cfg(feature = "sql-parser")]
pub mod sql_reverser;
mod types;

pub use crate::config::DatabaseType;
pub use column_changes::{ColumnChange, ColumnChangeType};
pub use differ::{SchemaDiffer, SqlGenerator};
pub use executor::*;
pub use schema::*;
pub use schema::{Schema, Table};
#[cfg(feature = "sql-parser")]
pub use sql_reverser::*;
pub use types::TableChange as MigrationTableChange;
pub use types::{ColumnAlteration, TableChange};
