feat: add location info when adding columns (#38)

This commit is contained in:
Zheming Li
2023-05-22 17:18:14 +08:00
committed by GitHub
parent f43972af48
commit 4204be285f
5 changed files with 4333 additions and 2658 deletions
+10
View File
@@ -90,6 +90,16 @@ message RenameTable { string new_table_name = 1; }
message AddColumn {
ColumnDef column_def = 1;
bool is_key = 2;
message Location {
enum LocationType {
FIRST = 0;
AFTER = 1;
}
LocationType location_type = 1;
string after_cloumn_name = 2;
}
Location location = 3;
}
message DropColumn { string name = 1; }