Update dependencies, adapt code, fix warnings

This commit is contained in:
Elias Projahn 2023-03-28 14:39:54 +02:00
parent 75d4e82cf8
commit 835d4f0d42
44 changed files with 595 additions and 541 deletions

View file

@ -97,7 +97,7 @@ impl PersonOrEnsemble {
/// Database table data for a recording.
#[derive(Insertable, Queryable, QueryableByName, Debug, Clone)]
#[table_name = "recordings"]
#[diesel(table_name = recordings)]
struct RecordingRow {
pub id: String,
pub work: String,
@ -120,7 +120,7 @@ impl From<Recording> for RecordingRow {
/// Database table data for a performance.
#[derive(Insertable, Queryable, Debug, Clone)]
#[table_name = "performances"]
#[diesel(table_name = performances)]
struct PerformanceRow {
pub id: i64,
pub recording: String,