Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 137 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions syncstorage-db-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,14 @@ pub enum Sorting {

#[derive(Clone, Debug, Default, Eq, Hash, PartialEq)]
pub struct UserIdentifier {
/// For MySQL database backends as the primary key
/// For MySQL/Postgres database backends as the primary key.
pub legacy_id: u64,
/// For NoSQL database backends that require randomly distributed primary keys
/// For NoSQL database backends that require randomly distributed primary keys.
pub fxa_uid: String,
/// Key identifier; part of the sync crypto context.
pub fxa_kid: String,
/// Hash of the Firefox user ID associated with a Sync account.
pub hashed_fxa_uid: String,
/// Hash of the device id metadata.
pub hashed_device_id: String,
}
Loading