summaryrefslogtreecommitdiff
path: root/src/db/story.rs
blob: 10fc49b0e0856543dcc2bb630a79e392a8d6f287 (plain)
1
2
3
4
5
6
7
8
#[derive(Debug, serde::Serialize, sqlx::FromRow)]
pub struct Story {
    pub id: i64,
    pub language: String,
    pub pdf: Vec<u8>,
    pub epub: Vec<u8>,
    pub pid: i64,
}