This commit is contained in:
maurice committed 2026-11-14 18:20:29 +01:00
1 parent 35e7259775
commit b444b5759d
17 files changed
+1043 -31

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
use sqlx::SqlitePool;
#[derive(sqlx::FromRow)]
#[derive(serde::Serialize, sqlx::FromRow)]
pub struct Paste {
pub id: String,
#[sqlx(rename = "type")]
@@ -15,7 +15,7 @@ pub struct Paste {
pub owner: Option<String>,
}
#[derive(sqlx::Type)]
#[derive(serde::Serialize, sqlx::Type)]
#[repr(i64)]
pub enum PasteType {
TextV1 = 0,