also changing the column type, would cause an ALTER COLUMN operation to
incorrectly render a second ALTER statement without the nullability if a
new type were also present, as the MSSQL-specific contract did not
- anticipate all three of "nullability", "type_" and "existing_type" being
+ anticipate all three of "nullability", ``"type_"`` and "existing_type" being
sent at the same time.
yet been updated, these can be modified directly in order to maintain
compatibility:
- * :meth:`.Operations.drop_constraint` - "type" (use "type_") and "name"
+ * :meth:`.Operations.drop_constraint` - "type" (use ``"type_"``) and "name"
(use "constraint_name")
* :meth:`.Operations.create_primary_key` - "cols" (use "columns") and
:tags: bug, batch
:tickets: 391
- Batch mode will not use CAST() to copy data if type_ is given, however
+ Batch mode will not use CAST() to copy data if ``type_`` is given, however
the basic type affinity matches that of the existing type. This to
avoid SQLite's CAST of TIMESTAMP which results in truncation of the
- data, in those cases where the user needs to add redundant type_ for
+ data, in those cases where the user needs to add redundant ``type_`` for
other reasons.
.. change::
Added quoting to the table name when the special EXEC is run to
drop any existing server defaults or constraints when the
- :paramref:`.drop_column.mssql_drop_check` or
- :paramref:`.drop_column.mssql_drop_default`
+ :paramref:`.Operations.drop_column.mssql_drop_check` or
+ :paramref:`.Operations.drop_column.mssql_drop_default`
arguments are used.
.. change::
# The encoding of source files.
# source_encoding = 'utf-8'
-nitpicky = True
+nitpicky = False
+
+exclude_patterns = ["build", "unreleased*/*", "**/*_include.rst"]
+
# The master toctree document.
master_doc = "index"
@classmethod
def setup_class(cls):
cls.env = env = staging_env()
- cls.a = env.generate_revision(util.rev_id(), "->a")
- cls.b = env.generate_revision(util.rev_id(), "a->b")
- cls.c = env.generate_revision(util.rev_id(), "b->c")
- cls.d = env.generate_revision(util.rev_id(), "c->d")
- cls.e = env.generate_revision(util.rev_id(), "d->e")
+
+ cls.a = env.generate_revision("e6239818bb3a", "->a")
+ cls.b = env.generate_revision("548bbb905360", "a->b")
+ cls.c = env.generate_revision("b7ea43dc85e4", "b->c")
+ cls.d = env.generate_revision("1bbe33445780", "c->d")
+ cls.e = env.generate_revision("3975fb1a0125", "d->e")
@classmethod
def teardown_class(cls):