Database schema optimization - part 5

This commit is contained in:
mdecimus
2025-11-04 17:45:37 +01:00
parent 14bce0a346
commit a7815ffd6b
33 changed files with 1891 additions and 299 deletions

View File

@@ -19,6 +19,7 @@ pub enum ContactField {
Uid,
Email,
Archive,
CreatedToUpdated,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
@@ -83,6 +84,7 @@ impl From<ContactField> for u8 {
match value {
ContactField::Uid => 0,
ContactField::Email => 1,
ContactField::CreatedToUpdated => 2,
ContactField::Archive => ARCHIVE_FIELD,
}
}