Query optimization (#235)

* Optimize version queries and decrease some query complexity

* Run formatter
This commit is contained in:
Geometrically authored and GitHub committed 2021-08-20 16:33:09 -07:00
1 parent 07226c6d21
commit ffd9a34cf5
15 files changed
+1068 -1138

No files matched your search

-3
View File
@@ -138,9 +138,6 @@ pub struct DonationPlatformId(pub i32);
pub struct VersionId(pub i64);
#[derive(Copy, Clone, Debug, Type)]
#[sqlx(transparent)]
pub struct ChannelId(pub i32);
#[derive(Copy, Clone, Debug, Type)]
#[sqlx(transparent)]
pub struct GameVersionId(pub i32);
#[derive(Copy, Clone, Debug, Type)]
#[sqlx(transparent)]