Skip to content

Commit

Permalink
feat: add column if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Dec 31, 2024
1 parent 1a580a0 commit 641f83c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proto/greptime/v1/ddl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ message DropDatabaseExpr {
bool drop_if_exists = 3;
}

message AddColumns { repeated AddColumn add_columns = 1; }
message AddColumns {
repeated AddColumn add_columns = 1;
bool add_if_not_exists = 2;
}

message DropColumns { repeated DropColumn drop_columns = 1; }

Expand Down

0 comments on commit 641f83c

Please sign in to comment.