Commonize and distinguish a lot of struct names in labrinth::database::models (#3691)

This commit is contained in:
Josiah Glosson
2025-05-24 04:38:43 -05:00
committed by GitHub
parent 9c1bdf16e4
commit 4e4a7be7ef
78 changed files with 1075 additions and 1009 deletions

View File

@@ -35,8 +35,8 @@ pub struct Collection {
pub projects: Vec<ProjectId>,
}
impl From<database::models::Collection> for Collection {
fn from(c: database::models::Collection) -> Self {
impl From<database::models::DBCollection> for Collection {
fn from(c: database::models::DBCollection) -> Self {
Self {
id: c.id.into(),
user: c.user_id.into(),