diff --git a/destination_sdk.proto b/destination_sdk.proto index e26678f..66c4c76 100644 --- a/destination_sdk.proto +++ b/destination_sdk.proto @@ -55,26 +55,7 @@ message CreateTableResponse { message AlterTableRequest { map 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 {