add comment about using ULIDs maybe

This commit is contained in:
Joe Ardent 2023-06-06 14:59:00 -07:00
parent edaf9e50f3
commit 55c75110d0

View file

@ -180,6 +180,7 @@ pub(crate) async fn create_user(
.unwrap() // safe to unwrap, we know the salt is valid
.to_string();
// TODO: look into ULIDs for sortable identifiers that are UUID-compatible
let id = Uuid::new_v4();
let query = sqlx::query(CREATE_QUERY)
.bind(id)