mod auto;
pub use auto::Auto;
mod belongs_to;
pub use belongs_to::BelongsTo;
mod embed;
pub use embed::Embed;
mod field;
pub use field::Field;
#[cfg(feature = "jiff")]
mod jiff;
mod has_many;
pub use has_many::HasMany;
mod has_one;
pub use has_one::HasOne;
mod load;
pub use load::Load;
mod model;
pub use model::Model;
mod option;
mod register;
pub use register::inventory;
pub use register::{DiscoverItem, Register, generate_unique_id};
mod num;
mod relation;
pub use relation::Relation;
mod scope;
pub use scope::Scope;
use crate::Result;
pub use toasty_core::schema::{app, app::ModelSet, db, mapping};
pub fn from_macro(models: impl IntoIterator<Item = app::Model>) -> Result<app::Schema> {
app::Schema::from_macro(models)
}