use toasty::Model;
/// What the last indexing run found, as JSON, one row per project: unresolved references,
/// parse failures, dependency state. Replaced on every run that changes the index.
#[derive(Debug, Clone, Model)]
#[table = "index_stats"]
pub struct IndexStats {
#[key]
#[auto]
pub id: u64,
pub project_id: u64,
pub updated_at: String,
pub stats_json: String,
}