pgmt 0.4.9

PostgreSQL migration tool that keeps your schema files as the source of truth
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Shared SQL rendering functions
//!
//! This module provides consistent SQL generation across both schema generation
//! and migration operations to ensure identical output.

pub mod constraint;
pub mod grant;
pub mod index;
pub mod table;

// Re-export commonly used functions
pub use constraint::{render_create_constraint, render_drop_constraint};
pub use grant::{
    render_column_grant_statement, render_column_revoke_statement, render_grant_statement,
    render_revoke_statement,
};
pub use index::render_create_index;
pub use table::render_create_table;