use crate::DbBackend;
mod builder;
mod entity;
#[cfg(feature = "serde_json")]
mod json;
mod topology;
pub use builder::*;
use topology::*;
#[derive(Debug)]
pub struct Schema {
backend: DbBackend,
}
impl Schema {
pub fn new(backend: DbBackend) -> Self {
Self { backend }
}
pub fn builder(self) -> SchemaBuilder {
SchemaBuilder::new(self)
}
}