]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Clarify Column.index / Column.unique parameters
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Jan 2021 18:43:38 +0000 (13:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Jan 2021 18:46:12 +0000 (13:46 -0500)
commitec9df97277ca4dfe7a7e7b29def0742ccd0235f8
tree5c4470f46e5f3201c4bf7cd475380c78c97ee731
parent893c4e7f89ae4018f286216e1cfc1b1b9341c939
Clarify Column.index / Column.unique parameters

These parameters need to be more clear that they cause a
constraint / index object to be generated.  Clarify the rules
by which this occurs and include contextual information about
naming conventions as well.

Change-Id: I8dc96ead4457215abed391fd1b9f732a1eef6e09
References: #5887
(cherry picked from commit aff54c0bd8f75d324f1a4a8601a3d6f28739439e)
doc/build/core/constraints.rst
lib/sqlalchemy/sql/schema.py