]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
document constraint behavior for add_column()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Apr 2023 04:32:16 +0000 (00:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Apr 2023 04:39:56 +0000 (00:39 -0400)
commitb0fd144686ac01d40fcae806657a37d6cc2d5fba
tree09baf5128744864884051585480c503352c1b4d3
parentabd175bf86b1091fe444b91c4f98dc9ea97ff723
document constraint behavior for add_column()

note which constraints are generated from Column (nullable,
single column FOREIGN KEY) and which
are not (PRIMARY KEY, CHECK, UNIQUE, etc.).

Change-Id: I030f2b4e17b08a63e0543567cf01ba03e8752d79
Fixes: #1232
alembic/op.pyi
alembic/operations/ops.py