feat: add add_if_not_exists to AddColumn (#207)
* feat: add column if not exists * chore: generate codes * feat: add if not exists for each col * chore: gen codes
This commit is contained in:
@@ -145,7 +145,9 @@ message DropDatabaseExpr {
|
||||
bool drop_if_exists = 3;
|
||||
}
|
||||
|
||||
message AddColumns { repeated AddColumn add_columns = 1; }
|
||||
message AddColumns {
|
||||
repeated AddColumn add_columns = 1;
|
||||
}
|
||||
|
||||
message DropColumns { repeated DropColumn drop_columns = 1; }
|
||||
|
||||
@@ -156,6 +158,7 @@ message RenameTable { string new_table_name = 1; }
|
||||
message AddColumn {
|
||||
ColumnDef column_def = 1;
|
||||
AddColumnLocation location = 3;
|
||||
bool add_if_not_exists = 4;
|
||||
}
|
||||
|
||||
message ModifyColumnType {
|
||||
|
||||
Reference in New Issue
Block a user