From a81aef0e93684304ecb608a7044aaecb45e2c475 Mon Sep 17 00:00:00 2001 From: Gerard Guillemas Martos Date: Mon, 15 Jul 2024 13:03:07 +0200 Subject: [PATCH] Properly revision `RecordAccess` structure (#4361) --- core/src/sql/access_type.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/sql/access_type.rs b/core/src/sql/access_type.rs index 37eee1a5..5c347f93 100644 --- a/core/src/sql/access_type.rs +++ b/core/src/sql/access_type.rs @@ -260,14 +260,15 @@ pub struct JwtAccessVerifyJwks { pub url: String, } -#[revisioned(revision = 1)] +#[revisioned(revision = 2)] #[derive(Debug, Serialize, Deserialize, Hash, Clone, Eq, PartialEq, PartialOrd)] #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] pub struct RecordAccess { pub signup: Option, pub signin: Option, - pub authenticate: Option, pub jwt: JwtAccess, + #[revision(start = 2)] + pub authenticate: Option, } impl Default for RecordAccess {