diff --git a/crates/db_schema/src/without_id.rs b/crates/db_schema/src/without_id.rs index 676f249df..5d21319a3 100644 --- a/crates/db_schema/src/without_id.rs +++ b/crates/db_schema/src/without_id.rs @@ -53,7 +53,7 @@ macro_rules! WithoutId { // Keep on removing the first attribute until `diesel(table_name = ...)` becomes // the first, which will cause the first pattern to be matched. (#[$_meta:meta] $($remaining:tt)*) => { - $($remaining)* + WithoutId!($($remaining)*); }; // This pattern is matched when there's no attributes.