googleapis / python-spanner-sqlalchemy

Apache License 2.0
38 stars 28 forks source link

fix: Add `existing_nullable` usage to `visit_column_type` #329

Open minev-dev opened 1 year ago

minev-dev commented 1 year ago

Without this, altering operations (e.g. change column length) can cause nullability change of the column.

It then causes error if this column is a part of index: "400 Changing NOT NULL constraints on column column_name is not allowed because it affects index index_name"

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.