feat: add DROP DEFAULT (#246)

Signed-off-by: Yihai Lin <yihai-lin@foxmail.com>
This commit is contained in:
Lin Yihai
2025-06-17 16:19:39 +08:00
committed by GitHub
parent fdcbe5f1c7
commit 82fe5c6282
9 changed files with 4128 additions and 939 deletions
+9
View File
@@ -114,9 +114,14 @@ message AlterTableExpr {
UnsetTableOptions unset_table_options = 11;
SetIndex set_index = 12;
UnsetIndex unset_index = 13;
DropDefaults drop_defaults = 14;
}
}
message DropDefault {
string column_name = 1;
}
message SetIndex {
oneof options {
SetFulltext fulltext = 1;
@@ -165,6 +170,10 @@ message AddColumns {
repeated AddColumn add_columns = 1;
}
message DropDefaults {
repeated DropDefault drop_defaults = 1;
}
message DropColumns { repeated DropColumn drop_columns = 1; }
message ModifyColumnTypes { repeated ModifyColumnType modify_column_types = 1; }