refactor(domain): remove public_key/private_key from User model — managed by federation adapter

This commit is contained in:
2026-05-15 02:04:28 +02:00
parent 9757ebdabf
commit 1a1ba3da63
7 changed files with 7 additions and 38 deletions

View File

@@ -15,8 +15,6 @@ pub struct User {
pub local: bool,
pub ap_id: Option<String>,
pub inbox_url: Option<String>,
pub public_key: Option<String>,
pub private_key: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
@@ -42,8 +40,6 @@ impl User {
local: true,
ap_id: None,
inbox_url: None,
public_key: None,
private_key: None,
created_at: now,
updated_at: now,
}