ignis-db 0.2.0

A comprehensive PostgreSQL ORM with macro-driven schema management
Documentation
use ignis_derive::{IgnisModel, PgComposite};

// Composite type example
#[derive(Debug, Clone, PgComposite)]
#[pg_composite(name = "address")]
pub struct Address {
    pub street: String,
    pub city: String,
    pub zip_code: String,
}

#[derive(Debug, Clone, IgnisModel)]
pub struct User {
    pub id: i32,
    pub username: String,
    pub email: String,
    pub full_name: String,  // New column to test detection
    pub created_at: chrono::DateTime<chrono::Utc>,
}

#[derive(Debug, Clone, IgnisModel)]
pub struct Post {
    pub id: i32,
    pub title: String,
    pub content: Option<String>,
    pub user_id: i32,
    pub published: bool,
    pub created_at: chrono::DateTime<chrono::Utc>,
}

#[derive(Debug, Clone, IgnisModel)]
pub struct Comment {
    pub id: i32,
    pub post_id: i32,
    pub author_name: String,
    pub comment_text: String,
    pub created_at: chrono::DateTime<chrono::Utc>,
}