gchdb 0.2.8

Provides a record abstraction for storing chat records extracted by different chat software, and provides full-text search feature
Documentation
table! {
    attachments (id) {
        id -> Nullable<Integer>,
        record_id -> Integer,
        name -> Text,
        hash -> BigInt,
    }
}

table! {
    blobs (hash) {
        hash -> BigInt,
        blob -> Binary,
    }
}

table! {
    records (id) {
        id -> Nullable<Integer>,
        chat_type -> Text,
        owner_id -> Text,
        group_id -> Text,
        sender_id -> Text,
        sender_name -> Text,
        content -> Text,
        timestamp -> BigInt,
        metadata -> Nullable<Binary>,
    }
}

allow_tables_to_appear_in_same_query!(
    attachments,
    blobs,
    records,
);