From 404d1fd9e7bedb75870e2091688ee44a7da84104 Mon Sep 17 00:00:00 2001 From: bohan Date: Tue, 9 Jan 2024 15:45:04 +0800 Subject: [PATCH] fix: fix glob resolution issue --- diesel_migrations/migrations_internals/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diesel_migrations/migrations_internals/src/connection.rs b/diesel_migrations/migrations_internals/src/connection.rs index c9171caddee9..59ec3582ff96 100644 --- a/diesel_migrations/migrations_internals/src/connection.rs +++ b/diesel_migrations/migrations_internals/src/connection.rs @@ -41,7 +41,7 @@ where } fn latest_run_migration_version(&self) -> QueryResult> { - use diesel::dsl::max; + use diesel::expression::dsl::max; __diesel_schema_migrations.select(max(version)).first(self) }