mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
create identity table to normalize children relationships
This commit is contained in:
parent
3348e30d80
commit
9530c37c59
4 changed files with 204 additions and 16 deletions
|
|
@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue