supabase-plus 0.8.13

An extra set of tools for managing Supabase projects going beyond the possibilities of regular Supabase CLI
pub trait Migration {
    fn sql(&self) -> String;
    fn migration_name(&self) -> String;
}

impl Migration for (String, String) {
    fn sql(&self) -> String {
        self.0.clone()
    }

    fn migration_name(&self) -> String {
        self.1.clone()
    }
}

pub mod bucket;
pub use bucket::*;

pub mod realtime;
pub use realtime::*;