create identity table to normalize children relationships

This commit is contained in:
yggverse 2024-11-16 16:26:12 +02:00
parent 3348e30d80
commit 9530c37c59
4 changed files with 204 additions and 16 deletions

View file

@ -19,10 +19,10 @@ impl Gemini {
// Constructors
/// Create new `Self`
pub fn new(connection: Rc<RwLock<Connection>>, profile_id: Rc<i64>) -> Self {
pub fn new(connection: Rc<RwLock<Connection>>, profile_identity_id: Rc<i64>) -> Self {
Self {
auth: Rc::new(Auth::new(connection.clone())),
database: Rc::new(Database::new(connection, profile_id)),
database: Rc::new(Database::new(connection, profile_identity_id)),
}
}