cleanup + sqlx prepare

This commit is contained in:
Artemis 2025-02-13 17:53:18 +01:00
parent 08aa16f36b
commit e8634eeff1
2 changed files with 16 additions and 8 deletions

View file

@ -0,0 +1,15 @@
{
"db_name": "PostgreSQL",
"query": "update doll_profiles set bound_to_id = $1 where id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Int4"
]
},
"nullable": []
},
"hash": "f5e08fe2f3c38631022a83e0038257905b21581564499b5d44d3c7448fb3fb50"
}

View file

@ -1,13 +1,6 @@
use rand::{distributions::Uniform, prelude::Distribution, thread_rng};
use regex::Regex;
use rocket::{
form,
http::uri::{
fmt::{FromUriParam, Part},
Path,
},
request::FromParam,
};
use rocket::{form, request::FromParam};
use crate::db::{doll, schema::DollTagsDb};