feat: add location info when adding columns (#38)
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user