-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapter: Update ObjectId to handle catalog schema #18762
Conversation
This commit updates the ObjectId enum so that it can be used for catalog schemas.
@@ -319,7 +319,7 @@ pub struct RevokeRoleV1 { | |||
pub struct SchemaV1 { | |||
pub id: String, | |||
pub name: String, | |||
pub database_name: String, | |||
pub database_name: Option<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intention was that changes of this form would require making a SchemaV2: update all current creators to produce v2s, but the v1 struct could still be read off disk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just updated this to use a V2
…ect-id-schemas # Conflicts: # src/adapter/src/catalog.rs # src/adapter/src/catalog/storage.rs # src/adapter/src/rbac.rs
e3867f6
to
a51aeb5
Compare
This commit updates the ObjectId enum so that it can be used for catalog schemas.
Motivation
Checklist
$T ⇔ Proto$T
mapping (possibly in a backwards-incompatible way) and therefore is tagged with aT-proto
label.