db update schema

This commit is contained in:
polv committed 2026-02-22 17:58:39 +07:00
1 parent 707c4274d1
commit 442e309a81
5 files changed
+43 -21

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use std::time::Instant;
use anyhow::Ok;
use cjdic2_core::db::create_schema;
use rusqlite::Connection;
fn main() -> Result<(), anyhow::Error> {
let conn = &mut Connection::open("test.db")?;
let start = Instant::now();
create_schema(conn)?;
println!("[{:.2?}]", start.elapsed());
Ok(())
}