diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-02-01 12:56:00 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-02-01 12:56:00 -0500 |
commit | 320125128178798544fb0c4d054afb6abec0f371 (patch) | |
tree | 59c26992cce6dd46218fb55847e598de32b43ac2 /docs/build/tutorial.rst | |
parent | b8be69cd7c9dbde3fe00c865f6c64fa7f3afaa22 (diff) | |
download | alembic-320125128178798544fb0c4d054afb6abec0f371.tar.gz |
more doc fixes and updates
Diffstat (limited to 'docs/build/tutorial.rst')
-rw-r--r-- | docs/build/tutorial.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/build/tutorial.rst b/docs/build/tutorial.rst index b224e26..fdab075 100644 --- a/docs/build/tutorial.rst +++ b/docs/build/tutorial.rst @@ -566,13 +566,16 @@ Autogenerate will by default detect: Autogenerate can *optionally* detect: -* Change of column type. This will occur if you set ``compare_type=True`` - on :meth:`.EnvironmentContext.configure`. The feature works well in most cases, +* Change of column type. This will occur if you set + the :paramref:`.EnvironmentContext.configure.compare_type` parameter + to ``True``, or to a custom callable. + The feature works well in most cases, but is off by default so that it can be tested on the target schema first. It can also be customized by passing a callable here; see the function's documentation for details. * Change of server default. This will occur if you set - ``compare_server_default=True`` on :meth:`.EnvironmentContext.configure`. + the :paramref:`.EnvironmentContext.configure.compare_server_default` + paramter to ``True``, or to a custom callable. This feature works well for simple cases but cannot always produce accurate results. The Postgresql backend will actually invoke the "detected" and "metadata" values against the database to |