luncheon 0.2.11

A library to make working with SQLITE in a more typed and traited way
Documentation
use crate::{Res, Table};


pub struct MigratePlan<T1: Table, T2: Table> {
    from: T1,
    to: T2,
}

impl<T1: Table, T2: Table> MigratePlan<T1, T2> {
    pub fn migrate(self) -> Res<()> {
        todo!()
    }
}

pub enum MigrateStep {
    RenameColumn,
    RemoveColumn,
    AddColumn,
    /// Make a field unique that wasn't before
    AlterColumn,
    RenameTable,
}