diff --git a/crates/db_schema/src/impls/images.rs b/crates/db_schema/src/impls/images.rs index f34a595f2..a5af893cb 100644 --- a/crates/db_schema/src/impls/images.rs +++ b/crates/db_schema/src/impls/images.rs @@ -51,6 +51,7 @@ impl LocalImage { local_image::table .filter(local_image::local_user_id.eq(user_id)) .select(local_image::all_columns) + .order_by(local_image::published.desc()) .limit(limit) .offset(offset) .load::(conn)