phonograph/phono-models/src/lib.rs
2026-01-19 17:31:59 +00:00

35 lines
1.2 KiB
Rust

// Phonograph - A friendly PostgreSQL wrapper for nerds of all stripes.
// Copyright (C) 2025 Second System Technologies LLC
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or (at your
// option) any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.
//
// See the GNU Affero General Public License for more details. You should have
// received a copy of the GNU Affero General Public License along with this
// program. If not, see <http://www.gnu.org/licenses/>.
#![feature(bool_to_result)] // Enable support for `ok_or()` on bools.
pub mod accessors;
pub mod client;
pub mod cluster;
pub mod datum;
pub mod errors;
pub mod expression;
pub mod field;
pub mod language;
mod macros;
pub mod portal;
pub mod presentation;
pub mod service_cred;
pub mod user;
pub mod workspace;
pub mod workspace_user_perm;
pub static MIGRATOR: sqlx::migrate::Migrator = sqlx::migrate!();