]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
The "implicit" constraint generated by a
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jan 2013 21:20:57 +0000 (16:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Jan 2013 21:20:57 +0000 (16:20 -0500)
commitb3bc2d877e9e23b35c2ec92645d5cd055468dbd1
tree0e29325f8efc492957f56530394186c901bc2eed
parent094fb87017517ac5e60ad0df030ec574314611f7
The "implicit" constraint generated by a
type such as Boolean or Enum will not generate an
ALTER statement when run on SQlite, which does not
support ALTER for the purpose of adding/removing
constraints separate from the column def itself.
While SQLite supports adding a CHECK constraint
at the column level, SQLAlchemy would need modification
to support this.
A warning is emitted indicating this
constraint cannot be added in this scenario.
#98
alembic/ddl/sqlite.py
docs/build/changelog.rst
tests/test_sqlite.py [new file with mode: 0644]