add comment about using ULIDs maybe
This commit is contained in:
parent
edaf9e50f3
commit
55c75110d0
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ pub(crate) async fn create_user(
|
||||||
.unwrap() // safe to unwrap, we know the salt is valid
|
.unwrap() // safe to unwrap, we know the salt is valid
|
||||||
.to_string();
|
.to_string();
|
||||||
|
|
||||||
|
// TODO: look into ULIDs for sortable identifiers that are UUID-compatible
|
||||||
let id = Uuid::new_v4();
|
let id = Uuid::new_v4();
|
||||||
let query = sqlx::query(CREATE_QUERY)
|
let query = sqlx::query(CREATE_QUERY)
|
||||||
.bind(id)
|
.bind(id)
|
||||||
|
|
Loading…
Reference in a new issue