Skip to content

Commit

Permalink
revert schema diff changes
Browse files Browse the repository at this point in the history
  • Loading branch information
manjutapali committed Jul 30, 2024
1 parent 5aeb6d3 commit 0a9978e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
21 changes: 1 addition & 20 deletions destination_sdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,7 @@ message CreateTableResponse {
message AlterTableRequest {
map<string, string> configuration = 1;
string schema_name = 2;
string table_name = 3;
repeated SchemaDiff changes = 4;
}

message SchemaDiff {
oneof change {
Column add_column = 1;
ChangeType change_column_type = 2;
PrimaryKey update_primary_keys = 3;
}
}

message PrimaryKey {
repeated string column_name = 1;
}

message ChangeType {
string column_name = 1;
DataType new_type = 2;
optional DataTypeParams params = 3;
Table table = 3;
}

message AlterTableResponse {
Expand Down
1 change: 1 addition & 0 deletions examples/destination/python/configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"url":"https://exuberant-buffalo-525.convex.cloud","key":"https://exuberant-buffalo-525.convex.site"}

0 comments on commit 0a9978e

Please sign in to comment.