rear_auth buildup from sqlite example

This commit is contained in:
2024-06-11 23:12:08 +02:00
parent 1799cadcbd
commit 6dcbb4c316
9 changed files with 337 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
pub struct Model {
#[sea_orm(primary_key)]
#[serde(skip_deserializing)]
pub id: i32,
pub id: i64,
pub username: String,
#[sea_orm(column_type = "Text")]
pub description: Option<String>,