use sea_orm_migration::prelude::*;

/// Previously moved columns from `tasks` into `task_infos`. That layout is removed: work items
/// live on `tasks` again (`m20240101`), and `m20260418` merges any existing `task_infos` rows.
/// This migration is retained as a no-op so databases that already applied the old version stay
/// consistent in the `seaql_migrations` journal.
#[derive(DeriveMigrationName)]
pub struct Migration;

#[async_trait::async_trait]
impl MigrationTrait for Migration {
    async fn up(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
        Ok(())
    }

    async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
        Ok(())
    }
}
