alembic 1.15.1__tar.gz → 1.15.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alembic-1.15.1/alembic.egg-info → alembic-1.15.2}/PKG-INFO +3 -2
- {alembic-1.15.1 → alembic-1.15.2}/alembic/__init__.py +1 -1
- {alembic-1.15.1 → alembic-1.15.2}/alembic/autogenerate/render.py +3 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/base.py +5 -1
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/impl.py +1 -2
- {alembic-1.15.1 → alembic-1.15.2}/alembic/op.pyi +2 -2
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/base.py +4 -2
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/ops.py +5 -3
- {alembic-1.15.1 → alembic-1.15.2/alembic.egg-info}/PKG-INFO +3 -2
- {alembic-1.15.1/docs/build → alembic-1.15.2/docs/_sources}/changelog.rst +14 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/documentation_options.js +1 -1
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/autogenerate.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/commands.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/config.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/ddl.html +4 -4
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/index.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/operations.html +4 -4
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/overview.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/runtime.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/api/script.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/autogenerate.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/batch.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/branches.html +3 -3
- {alembic-1.15.1/docs/_sources → alembic-1.15.2/docs/build}/changelog.rst +14 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/conf.py +2 -2
- {alembic-1.15.1 → alembic-1.15.2}/docs/changelog.html +27 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/cookbook.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/front.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/genindex.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/index.html +7 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/naming.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/offline.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/ops.html +4 -4
- {alembic-1.15.1 → alembic-1.15.2}/docs/py-modindex.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/docs/search.html +3 -3
- alembic-1.15.2/docs/searchindex.js +1 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/tutorial.html +3 -3
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_autogen_render.py +12 -0
- alembic-1.15.1/docs/searchindex.js +0 -1
- {alembic-1.15.1 → alembic-1.15.2}/CHANGES +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/LICENSE +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/MANIFEST.in +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/README.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/README.unittests.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/__main__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/autogenerate/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/autogenerate/api.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/autogenerate/compare.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/autogenerate/rewriter.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/command.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/config.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/context.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/context.pyi +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/_autogen.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/mssql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/mysql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/oracle.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/postgresql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/ddl/sqlite.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/environment.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/migration.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/op.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/batch.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/schemaobj.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/operations/toimpl.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/py.typed +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/runtime/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/runtime/environment.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/runtime/migration.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/script/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/script/base.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/script/revision.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/script/write_hooks.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/async/README +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/async/alembic.ini.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/async/env.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/async/script.py.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/generic/README +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/generic/alembic.ini.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/generic/env.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/generic/script.py.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/multidb/README +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/multidb/alembic.ini.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/multidb/env.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/templates/multidb/script.py.mako +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/assertions.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/env.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/fixtures.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/plugin/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/plugin/bootstrap.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/requirements.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/schemacompare.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/_autogen_fixtures.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_autogen_comments.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_autogen_computed.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_autogen_diffs.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_autogen_fks.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_autogen_identity.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_environment.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/suite/test_op.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/util.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/testing/warnings.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/compat.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/editor.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/exc.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/langhelpers.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/messaging.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/pyfiles.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic/util/sqla_compat.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/SOURCES.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/dependency_links.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/entry_points.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/not-zip-safe +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/requires.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/alembic.egg-info/top_level.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_images/api_overview.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/autogenerate.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/commands.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/config.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/ddl.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/index.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/operations.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/overview.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/runtime.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/api/script.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/autogenerate.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/batch.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/branches.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/cookbook.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/front.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/index.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/naming.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/offline.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/ops.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_sources/tutorial.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/basic.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/changelog.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/clipboard.min.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/copybutton.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/copybutton.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/copybutton_funcs.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/doctools.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/file.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/images/logo_colab.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/language_data.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/minus.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/nature_override.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/plus.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/pygments.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/sbt-webpack-macros.html +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/scripts/bootstrap.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/scripts/bootstrap.js.LICENSE.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/scripts/pydata-sphinx-theme.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/scripts/sphinx-book-theme.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/searchtools.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/site_custom_css.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/sphinx_highlight.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/sphinx_paramlinks.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/styles/bootstrap.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/styles/pydata-sphinx-theme.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/styles/sphinx-book-theme.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/styles/theme.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/LICENSE.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/css/all.min.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/js/all.min.js +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/vendor/fontawesome/6.5.2/js/all.min.js.LICENSE.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/_static/webpack-macros.html +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/Makefile +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/_static/nature_override.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/_static/site_custom_css.css +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/_templates/site_custom_sidebars.html +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/api_overview.png +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/autogenerate.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/commands.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/config.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/ddl.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/index.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/operations.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/overview.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/runtime.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/api/script.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/autogenerate.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/batch.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/branches.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/cookbook.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/front.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/index.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/naming.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/offline.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/ops.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/requirements.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/tutorial.rst +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/docs/build/unreleased/README.txt +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/pyproject.toml +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/setup.cfg +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/setup.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/__init__.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/_large_map.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/conftest.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/requirements.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_autogen_composition.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_autogen_diffs.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_autogen_indexes.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_batch.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_bulk_insert.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_command.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_config.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_editor.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_environment.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_external_dialect.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_impl.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_messaging.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_mssql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_mysql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_offline_environment.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_op.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_op_naming_convention.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_oracle.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_post_write.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_postgresql.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_revision.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_script_consumption.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_script_production.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_sqlite.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_stubs.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_suite.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_version_table.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tests/test_version_traversal.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tools/write_pyi.py +0 -0
- {alembic-1.15.1 → alembic-1.15.2}/tox.ini +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: alembic
|
3
|
-
Version: 1.15.
|
3
|
+
Version: 1.15.2
|
4
4
|
Summary: A database migration tool for SQLAlchemy.
|
5
5
|
Author-email: Mike Bayer <mike_mp@zzzcomputing.com>
|
6
6
|
License: MIT
|
@@ -32,6 +32,7 @@ Requires-Dist: Mako
|
|
32
32
|
Requires-Dist: typing-extensions>=4.12
|
33
33
|
Provides-Extra: tz
|
34
34
|
Requires-Dist: tzdata; extra == "tz"
|
35
|
+
Dynamic: license-file
|
35
36
|
|
36
37
|
Alembic is a database migrations tool written by the author
|
37
38
|
of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
|
@@ -505,6 +505,7 @@ def _alter_column(
|
|
505
505
|
type_ = op.modify_type
|
506
506
|
nullable = op.modify_nullable
|
507
507
|
comment = op.modify_comment
|
508
|
+
newname = op.modify_name
|
508
509
|
autoincrement = op.kw.get("autoincrement", None)
|
509
510
|
existing_type = op.existing_type
|
510
511
|
existing_nullable = op.existing_nullable
|
@@ -533,6 +534,8 @@ def _alter_column(
|
|
533
534
|
rendered = _render_server_default(server_default, autogen_context)
|
534
535
|
text += ",\n%sserver_default=%s" % (indent, rendered)
|
535
536
|
|
537
|
+
if newname is not None:
|
538
|
+
text += ",\n%snew_column_name=%r" % (indent, newname)
|
536
539
|
if type_ is not None:
|
537
540
|
text += ",\n%stype_=%s" % (indent, _repr_type(type_, autogen_context))
|
538
541
|
if nullable is not None:
|
@@ -299,9 +299,13 @@ def format_server_default(
|
|
299
299
|
compiler: DDLCompiler,
|
300
300
|
default: Optional[_ServerDefault],
|
301
301
|
) -> str:
|
302
|
-
|
302
|
+
# this can be updated to use compiler.render_default_string
|
303
|
+
# for SQLAlchemy 2.0 and above; not in 1.4
|
304
|
+
default_str = compiler.get_column_default_string(
|
303
305
|
Column("x", Integer, server_default=default)
|
304
306
|
)
|
307
|
+
assert default_str is not None
|
308
|
+
return default_str
|
305
309
|
|
306
310
|
|
307
311
|
def format_type(compiler: DDLCompiler, type_: TypeEngine) -> str:
|
@@ -46,7 +46,6 @@ if TYPE_CHECKING:
|
|
46
46
|
from sqlalchemy.engine.reflection import Inspector
|
47
47
|
from sqlalchemy.sql import ClauseElement
|
48
48
|
from sqlalchemy.sql import Executable
|
49
|
-
from sqlalchemy.sql.elements import ColumnElement
|
50
49
|
from sqlalchemy.sql.elements import quoted_name
|
51
50
|
from sqlalchemy.sql.schema import Constraint
|
52
51
|
from sqlalchemy.sql.schema import ForeignKeyConstraint
|
@@ -440,7 +439,7 @@ class DefaultImpl(metaclass=ImplMeta):
|
|
440
439
|
def drop_table_comment(self, table: Table) -> None:
|
441
440
|
self._exec(schema.DropTableComment(table))
|
442
441
|
|
443
|
-
def create_column_comment(self, column:
|
442
|
+
def create_column_comment(self, column: Column[Any]) -> None:
|
444
443
|
self._exec(schema.SetColumnComment(column))
|
445
444
|
|
446
445
|
def drop_index(self, index: Index, **kw: Any) -> None:
|
@@ -146,12 +146,12 @@ def alter_column(
|
|
146
146
|
*,
|
147
147
|
nullable: Optional[bool] = None,
|
148
148
|
comment: Union[str, Literal[False], None] = False,
|
149
|
-
server_default:
|
149
|
+
server_default: Union[str, bool, Identity, Computed, TextClause] = False,
|
150
150
|
new_column_name: Optional[str] = None,
|
151
151
|
type_: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
|
152
152
|
existing_type: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
|
153
153
|
existing_server_default: Union[
|
154
|
-
str, bool, Identity, Computed, None
|
154
|
+
str, bool, Identity, Computed, TextClause, None
|
155
155
|
] = False,
|
156
156
|
existing_nullable: Optional[bool] = None,
|
157
157
|
existing_comment: Optional[str] = None,
|
@@ -705,14 +705,16 @@ class Operations(AbstractOperations):
|
|
705
705
|
*,
|
706
706
|
nullable: Optional[bool] = None,
|
707
707
|
comment: Union[str, Literal[False], None] = False,
|
708
|
-
server_default:
|
708
|
+
server_default: Union[
|
709
|
+
str, bool, Identity, Computed, TextClause
|
710
|
+
] = False,
|
709
711
|
new_column_name: Optional[str] = None,
|
710
712
|
type_: Union[TypeEngine[Any], Type[TypeEngine[Any]], None] = None,
|
711
713
|
existing_type: Union[
|
712
714
|
TypeEngine[Any], Type[TypeEngine[Any]], None
|
713
715
|
] = None,
|
714
716
|
existing_server_default: Union[
|
715
|
-
str, bool, Identity, Computed, None
|
717
|
+
str, bool, Identity, Computed, TextClause, None
|
716
718
|
] = False,
|
717
719
|
existing_nullable: Optional[bool] = None,
|
718
720
|
existing_comment: Optional[str] = None,
|
@@ -1840,14 +1840,16 @@ class AlterColumnOp(AlterTableOp):
|
|
1840
1840
|
*,
|
1841
1841
|
nullable: Optional[bool] = None,
|
1842
1842
|
comment: Optional[Union[str, Literal[False]]] = False,
|
1843
|
-
server_default:
|
1843
|
+
server_default: Union[
|
1844
|
+
str, bool, Identity, Computed, TextClause
|
1845
|
+
] = False,
|
1844
1846
|
new_column_name: Optional[str] = None,
|
1845
1847
|
type_: Optional[Union[TypeEngine[Any], Type[TypeEngine[Any]]]] = None,
|
1846
1848
|
existing_type: Optional[
|
1847
1849
|
Union[TypeEngine[Any], Type[TypeEngine[Any]]]
|
1848
1850
|
] = None,
|
1849
|
-
existing_server_default:
|
1850
|
-
|
1851
|
+
existing_server_default: Union[
|
1852
|
+
str, bool, Identity, Computed, TextClause, None
|
1851
1853
|
] = False,
|
1852
1854
|
existing_nullable: Optional[bool] = None,
|
1853
1855
|
existing_comment: Optional[str] = None,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: alembic
|
3
|
-
Version: 1.15.
|
3
|
+
Version: 1.15.2
|
4
4
|
Summary: A database migration tool for SQLAlchemy.
|
5
5
|
Author-email: Mike Bayer <mike_mp@zzzcomputing.com>
|
6
6
|
License: MIT
|
@@ -32,6 +32,7 @@ Requires-Dist: Mako
|
|
32
32
|
Requires-Dist: typing-extensions>=4.12
|
33
33
|
Provides-Extra: tz
|
34
34
|
Requires-Dist: tzdata; extra == "tz"
|
35
|
+
Dynamic: license-file
|
35
36
|
|
36
37
|
Alembic is a database migrations tool written by the author
|
37
38
|
of `SQLAlchemy <http://www.sqlalchemy.org>`_. A migrations tool
|
@@ -3,6 +3,20 @@
|
|
3
3
|
Changelog
|
4
4
|
==========
|
5
5
|
|
6
|
+
.. changelog::
|
7
|
+
:version: 1.15.2
|
8
|
+
:released: March 28, 2025
|
9
|
+
|
10
|
+
.. change::
|
11
|
+
:tags: bug, autogenerate
|
12
|
+
:tickets: 1635
|
13
|
+
|
14
|
+
Fixed issue where the "modified_name" of :class:`.AlterColumnOp` would not
|
15
|
+
be considered when rendering op directives for autogenerate. While
|
16
|
+
autogenerate cannot detect changes in column name, this would nonetheless
|
17
|
+
impact approaches that made use of this attribute in rewriter recipes. Pull
|
18
|
+
request courtesy lenvk.
|
19
|
+
|
6
20
|
.. changelog::
|
7
21
|
:version: 1.15.1
|
8
22
|
:released: March 4, 2025
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Autogeneration — Alembic 1.15.
|
11
|
+
<title>Autogeneration — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Commands — Alembic 1.15.
|
11
|
+
<title>Commands — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Configuration — Alembic 1.15.
|
11
|
+
<title>Configuration — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>DDL Internals — Alembic 1.15.
|
11
|
+
<title>DDL Internals — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -804,7 +804,7 @@ the signatures generated by <code class="docutils literal notranslate"><span cla
|
|
804
804
|
|
805
805
|
<dl class="py method">
|
806
806
|
<dt class="sig sig-object py" id="alembic.ddl.impl.DefaultImpl.create_column_comment">
|
807
|
-
<span class="sig-name descname"><span class="pre">create_column_comment</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">column</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">
|
807
|
+
<span class="sig-name descname"><span class="pre">create_column_comment</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">column</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.sqlalchemy.org/en/20/core/metadata.html#sqlalchemy.schema.Column" title="(in SQLAlchemy v2.0)"><span class="pre">Column</span></a><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Any" title="(in Python v3.13)"><span class="pre">Any</span></a><span class="p"><span class="pre">]</span></span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.ddl.impl.DefaultImpl.create_column_comment" title="Link to this definition">#</a></dt>
|
808
808
|
<dd></dd></dl>
|
809
809
|
|
810
810
|
<dl class="py method">
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>API Details — Alembic 1.15.
|
11
|
+
<title>API Details — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Operation Directives — Alembic 1.15.
|
11
|
+
<title>Operation Directives — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -640,7 +640,7 @@ autogenerate system renders new migration scripts.</p>
|
|
640
640
|
<dd><p>Represent an alter column operation.</p>
|
641
641
|
<dl class="py method">
|
642
642
|
<dt class="sig sig-object py" id="alembic.operations.ops.AlterColumnOp.alter_column">
|
643
|
-
<em class="property"><span class="k"><span class="pre">classmethod</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">alter_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">operations</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><span class="pre">Operations</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">table_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Literal</span><span class="p"><span class="pre">[</span></span><span class="k"><span class="pre">False</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">new_column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">type_</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.operations.ops.AlterColumnOp.alter_column" title="Link to this definition">#</a></dt>
|
643
|
+
<em class="property"><span class="k"><span class="pre">classmethod</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">alter_column</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">operations</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><span class="pre">Operations</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">table_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Literal</span><span class="p"><span class="pre">[</span></span><span class="k"><span class="pre">False</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">TextClause</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">new_column_name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">type_</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_type</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Type</span><span class="p"><span class="pre">[</span></span><span class="pre">TypeEngine</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_server_default</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Identity</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">Computed</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">TextClause</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_nullable</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">existing_comment</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schema</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kw</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">Any</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#alembic.operations.ops.AlterColumnOp.alter_column" title="Link to this definition">#</a></dt>
|
644
644
|
<dd><p>This method is proxied on the <a class="reference internal" href="../ops.html#alembic.operations.Operations" title="alembic.operations.Operations"><code class="xref py py-class docutils literal notranslate"><span class="pre">Operations</span></code></a> class, via the <a class="reference internal" href="../ops.html#alembic.operations.Operations.alter_column" title="alembic.operations.Operations.alter_column"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Operations.alter_column()</span></code></a> method.</p>
|
645
645
|
</dd></dl>
|
646
646
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Overview — Alembic 1.15.
|
11
|
+
<title>Overview — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Runtime Objects — Alembic 1.15.
|
11
|
+
<title>Runtime Objects — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Script Directory — Alembic 1.15.
|
11
|
+
<title>Script Directory — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="../_static/documentation_options.js?v=
|
43
|
+
<script src="../_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="../_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Auto Generating Migrations — Alembic 1.15.
|
11
|
+
<title>Auto Generating Migrations — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="_static/documentation_options.js?v=
|
43
|
+
<script src="_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<meta charset="utf-8" />
|
9
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
10
10
|
|
11
|
-
<title>Running “Batch” Migrations for SQLite and Other Databases — Alembic 1.15.
|
11
|
+
<title>Running “Batch” Migrations for SQLite and Other Databases — Alembic 1.15.2 documentation</title>
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
|
41
41
|
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
|
42
42
|
|
43
|
-
<script src="_static/documentation_options.js?v=
|
43
|
+
<script src="_static/documentation_options.js?v=ba316d88"></script>
|
44
44
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
45
45
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
46
46
|
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
<p class="title logo__title">Alembic 1.15.
|
141
|
+
<p class="title logo__title">Alembic 1.15.2 documentation</p>
|
142
142
|
|
143
143
|
</a></div>
|
144
144
|
<div class="sidebar-primary-item"><ul class="navbar-icon-links"
|