docs: add todos/fixmes

This commit is contained in:
Radical 2025-04-29 22:13:41 +02:00
parent 70577fbe56
commit 11f89a2380
4 changed files with 11 additions and 1 deletions

View file

@ -22,6 +22,10 @@ async fn main() -> Result<(), Error> {
let pool = PgPool::connect_with(config.database.connect_options()).await?;
/*
TODO: Figure out if a table should be used here and if not then what.
Also figure out if these should be different types from what they currently are and if we should add more "constraints"
*/
pool.execute(r#"CREATE TABLE IF NOT EXISTS users (
uuid uuid UNIQUE NOT NULL,
username varchar(32) UNIQUE NOT NULL,