Update diesel to version 2

This commit is contained in:
Elias Projahn 2022-12-19 17:09:28 +01:00
parent d6b79fae59
commit 8b45ec4940
11 changed files with 259 additions and 236 deletions

View file

@ -5,7 +5,7 @@ pub enum Error {
ConnectionError(#[from] diesel::result::ConnectionError),
#[error(transparent)]
MigrationsError(#[from] diesel_migrations::RunMigrationsError),
Migrations(#[from] Box<dyn std::error::Error + Send + Sync>),
#[error(transparent)]
QueryError(#[from] diesel::result::Error),