user tenant_id

This commit is contained in:
2025-10-23 16:58:52 +02:00
parent 0ad79c9bc1
commit fbd3aff6d8
11 changed files with 32 additions and 21 deletions
-2
View File
@@ -48,7 +48,6 @@ pub struct User {
pub password_hash: String,
pub created_at: NaiveDateTime,
pub updated_at: NaiveDateTime,
pub tenant_id: Uuid,
}
#[derive(Debug, Insertable)]
@@ -57,7 +56,6 @@ pub struct NewUser {
pub id: Uuid,
pub username: String,
pub password_hash: String,
pub tenant_id: Uuid,
}
#[derive(Debug, Clone, Queryable, Identifiable)]