Add tenant to activity table, include resource type

This commit is contained in:
Jon Staab
2026-03-26 08:17:40 -07:00
parent 28e564e795
commit b796665e31
7 changed files with 63 additions and 48 deletions
+3 -1
View File
@@ -3,9 +3,11 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize, sqlx::FromRow)]
pub struct Activity {
pub id: String,
pub tenant: String,
pub created_at: i64,
pub activity_type: String,
pub identifier: String,
pub resource_type: String,
pub resource_id: String,
}
#[derive(Debug, Clone, Serialize, Deserialize, sqlx::FromRow)]