added database models and models for continous use. Also changed get all paths according to that. Nothing is testet yet!
This commit is contained in:
7
src-tauri/src/models/db_models/node_db.rs
Normal file
7
src-tauri/src/models/db_models/node_db.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
#[derive(Debug, sqlx::FromRow)]
|
||||
pub struct NodeDb {
|
||||
pub id: u32,
|
||||
pub title: String,
|
||||
pub description: String,
|
||||
pub path_id: String
|
||||
}
|
||||
Reference in New Issue
Block a user