scryer-db 0.2.0

Database models and Turso/SQLite storage layer for Scryer code intelligence
1
2
3
4
5
6
7
8
9
10
11
12
use toasty::Model;

/// One row per applied schema version; the current version is the highest row.
#[derive(Debug, Clone, Model)]
#[table = "schema_version"]
pub struct SchemaVersion {
    #[key]
    #[auto]
    pub id: u64,
    pub version: u64,
    pub applied_at: String,
}