mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 18:36:21 +00:00
feat(backend) backed init
This commit is contained in:
12 files changed
+135
-5
No files matched your search
@@ -0,0 +1,12 @@
|
||||
use chrono::NaiveDateTime;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use sqlx::FromRow;
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, FromRow)]
|
||||
pub struct Post {
|
||||
post_id: Uuid,
|
||||
title: String,
|
||||
content: String,
|
||||
last_update: NaiveDateTime,
|
||||
}
|
||||
Reference in new issue
Block a user