Skip to content

Commit

Permalink
sql/schemachange: revert TableZoneConfig field ID
Browse files Browse the repository at this point in the history
Fixes: #91053

Backwards compatibility with 22.2 was accidentally regressed,
when the field ID for tabe_zone_config was changed for
older declarative schema changer states. To address this,
this patch will revert the field ID back to the same value
as 22.2

Release note: None
  • Loading branch information
fqazi committed Nov 1, 2022
1 parent 9c035ab commit 770e217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/schemachanger/scpb/elements.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ message ElementProto {
ForeignKeyConstraint foreign_key_constraint = 27 [(gogoproto.moretags) = "parent:\"Table\""];
TableComment table_comment = 28 [(gogoproto.moretags) = "parent:\"Table, View, Sequence\""];
RowLevelTTL row_level_ttl = 29 [(gogoproto.customname) = "RowLevelTTL", (gogoproto.moretags) = "parent:\"Table\""];
TableZoneConfig table_zone_config = 130 [(gogoproto.moretags) = "parent:\"Table, View\""];
TableZoneConfig table_zone_config = 121 [(gogoproto.moretags) = "parent:\"Table, View\""];
TableData table_data = 131 [(gogoproto.customname) = "TableData", (gogoproto.moretags) = "parent:\"Table, View, Sequence\""];

// Multi-region elements.
Expand Down

0 comments on commit 770e217

Please sign in to comment.