18 lines
324 B
Rust
18 lines
324 B
Rust
use chrono::{DateTime, Utc};
|
|
|
|
|
|
#[derive(sqlx::FromRow, Debug)]
|
|
pub struct PathDb {
|
|
pub id: String,
|
|
pub title: String,
|
|
pub description: String,
|
|
}
|
|
|
|
#[derive(Debug, sqlx::FromRow)]
|
|
pub struct MetadataDb {
|
|
pub path_id : String,
|
|
pub version: String,
|
|
pub created_at: String,
|
|
pub updated_at: String,
|
|
}
|