You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I had a table which didn't has primary_key previously, and later I wanted to add a primary_key column, so I used add_column function as follows, but the primary_key was not added. Thanks for your attention.
I will add a note to the documentation now. constraints such as primary key or check constraints can only be added using constraint directives such as op.create_primary_key()
Describe the bug
I had a table which didn't has primary_key previously, and later I wanted to add a primary_key column, so I used
add_column
function as follows, but the primary_key was not added. Thanks for your attention.To Reproduce
A minimal example is as follows:
Versions.
The text was updated successfully, but these errors were encountered: