Browse Source

define fields enum index

master
yggverse 2 months ago
parent
commit
fa6e9d7128
  1. 5
      src/app/database.rs

5
src/app/database.rs

@ -1,6 +1,11 @@ @@ -1,6 +1,11 @@
use sqlite::Connection;
use std::sync::Arc;
enum Field {
Id,
Time,
}
pub struct Database {
connection: Arc<sqlite::Connection>,
}

Loading…
Cancel
Save