feat(init::schema) init database schema

This commit is contained in:
lumither committed 2024-11-20 21:38:36 -08:00
1 parent 7f400470ff
commit 99a19d8d9e
6 files changed
+71 -13

No files matched your search

+5 -5
View File
@@ -15,11 +15,11 @@ use crate::utils::front_matter::{parse_front_matter, split_md_front_matter};
#[derive(Default, Debug, Serialize)]
pub struct MdFile {
file_id: Uuid,
file_name: String,
meta: Value,
content: String,
hash: String,
pub file_id: Uuid,
pub file_name: String,
pub meta: Value,
pub content: String,
pub hash: String,
}
impl MdFile {