chore: remove all compiler and clippy warnings

This commit is contained in:
Jef Roosens 2025-04-05 09:20:41 +02:00
parent f3ede6f9a6
commit 279983c64c
Signed by: Jef Roosens
GPG key ID: 02D4C0997E74717B
9 changed files with 19 additions and 14 deletions

View file

@ -17,10 +17,8 @@ use crate::schema::*;
pub struct Device {
pub id: i64,
pub device_id: String,
pub user_id: i64,
pub caption: String,
pub type_: DeviceType,
pub sync_group_id: Option<i64>,
}
#[derive(Insertable)]

View file

@ -6,8 +6,6 @@ use crate::schema::*;
#[diesel(table_name = device_subscriptions)]
#[diesel(check_for_backend(diesel::sqlite::Sqlite))]
pub struct DeviceSubscription {
pub id: i64,
pub device_id: i64,
pub podcast_url: String,
pub time_changed: i64,
pub deleted: bool,

View file

@ -16,9 +16,6 @@ use crate::schema::*;
#[diesel(table_name = episode_actions)]
#[diesel(check_for_backend(diesel::sqlite::Sqlite))]
pub struct EpisodeAction {
pub id: i64,
pub user_id: i64,
pub device_id: Option<i64>,
pub podcast_url: String,
pub episode_url: String,
pub time_changed: i64,