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

@@ -86,7 +86,7 @@ impl ThreadType {
impl Thread {
pub fn from(
data: crate::database::models::Thread,
data: crate::database::models::DBThread,
users: Vec<User>,
user: &User,
) -> Self {
@@ -119,7 +119,7 @@ impl Thread {
impl ThreadMessage {
pub fn from(
data: crate::database::models::ThreadMessage,
data: crate::database::models::DBThreadMessage,
user: &User,
) -> Self {
Self {