work
This commit is contained in:
parent
f76cbd9d46
commit
c5fcafe450
11 changed files with 88053 additions and 97 deletions
11
src/db.rs
Normal file
11
src/db.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use chrono::{DateTime, Utc};
|
||||
|
||||
#[derive(sqlx::FromRow, Debug)]
|
||||
pub struct Entry {
|
||||
id: i32,
|
||||
macaddr: String,
|
||||
nickname: String,
|
||||
descr: String,
|
||||
privacy: i8,
|
||||
created: DateTime<Utc>,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue