summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/user/id.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/user/id.rs b/src/user/id.rs
index 9455deb..bc14c1f 100644
--- a/src/user/id.rs
+++ b/src/user/id.rs
@@ -1,6 +1,7 @@
use crate::id::Id as BaseId;
-// Stable identifier for a User. Prefixed with `L`.
+// Stable identifier for a User. Prefixed with `U`. Users created before March, 2025 may have an `L`
+// prefix, instead.
#[derive(Clone, Debug, Eq, PartialEq, sqlx::Type, serde::Serialize)]
#[sqlx(transparent)]
pub struct Id(BaseId);
@@ -13,7 +14,7 @@ impl From<BaseId> for Id {
impl Id {
pub fn generate() -> Self {
- BaseId::generate("L")
+ BaseId::generate("U")
}
}