Closed matthewjumpsoffbuildings closed 11 months ago
In Google Cloud Spanner, you cannot add or alter multiple columns in a single DML statement. Instead, you need to execute separate ALTER TABLE statements for each column you want to add or modify.
The current implementation make a single statement
alter table `table` add column `column_one` string(max), add column `column_two` string(max);
This fix makes the correct statements
alter table `table` add column `column_one` string(max); alter table `table` add column `column_two` string(max);
Please add a summary to CHANGELOG. Thanks.
In Google Cloud Spanner, you cannot add or alter multiple columns in a single DML statement. Instead, you need to execute separate ALTER TABLE statements for each column you want to add or modify.
The current implementation make a single statement
This fix makes the correct statements