More gui
This commit is contained in:
17 files changed
+1043
-31
No files matched your search
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user