Better database layout with uuid primary keys

Serialize and deserialize the uuid ids as base62 strings in the URLs.
This commit is contained in:
2023-06-27 14:03:52 -04:00
parent 4e41bbd6e1
commit abd540d2ff
17 changed files with 290 additions and 121 deletions

3
Cargo.lock generated
View File

@@ -385,6 +385,7 @@ dependencies = [
"tracing-appender",
"tracing-subscriber",
"url",
"uuid",
"validator",
]
@@ -2286,6 +2287,7 @@ dependencies = [
"thiserror",
"tokio-stream",
"url",
"uuid",
"whoami",
]
@@ -2771,6 +2773,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dad5567ad0cf5b760e5665964bec1b47dfd077ba8a2544b513f3556d3d239a2"
dependencies = [
"getrandom",
"serde",
]
[[package]]