mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 18:34:14 +00:00
define fields enum index
This commit is contained in:
parent
490338930d
commit
fa6e9d7128
@ -1,6 +1,11 @@
|
||||
use sqlite::Connection;
|
||||
use std::sync::Arc;
|
||||
|
||||
enum Field {
|
||||
Id,
|
||||
Time,
|
||||
}
|
||||
|
||||
pub struct Database {
|
||||
connection: Arc<sqlite::Connection>,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user