feat: introduce SetIndexes and UnsetIndexes (#253)

This commit is contained in:
Weny Xu
2025-07-22 10:50:09 +08:00
committed by GitHub
parent 5976122c46
commit 36116a5c24
9 changed files with 5439 additions and 1004 deletions
+12
View File
@@ -112,9 +112,13 @@ message AlterTableExpr {
ModifyColumnTypes modify_column_types = 7;
SetTableOptions set_table_options = 8;
UnsetTableOptions unset_table_options = 11;
// Deprecated: use set_indexes instead.
SetIndex set_index = 12;
// Deprecated: use unset_indexes instead.
UnsetIndex unset_index = 13;
DropDefaults drop_defaults = 14;
SetIndexes set_indexes = 15;
UnsetIndexes unset_indexes = 16;
}
}
@@ -122,6 +126,14 @@ message DropDefault {
string column_name = 1;
}
message SetIndexes {
repeated SetIndex set_indexes = 1;
}
message UnsetIndexes {
repeated UnsetIndex unset_indexes = 1;
}
message SetIndex {
oneof options {
SetFulltext fulltext = 1;