From 0e43247da4cfd2d829ee4b350e336364cb8a7ec1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 3 Jul 2015 13:10:41 -0400 Subject: - squash merge of ticket_302 branch - The internal system for Alembic operations has been reworked to now build upon an extensible system of operation objects. New operations can be added to the ``op.`` namespace, including that they are available in custom autogenerate schemes. fixes #302 - The internal system for autogenerate been reworked to build upon the extensible system of operation objects present in #302. A new customization hook process_revision_directives is added to allow manipulation of the autogen stream. Fixes #301 --- docs/build/api/ddl.rst | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/build/api/ddl.rst (limited to 'docs/build/api/ddl.rst') diff --git a/docs/build/api/ddl.rst b/docs/build/api/ddl.rst new file mode 100644 index 0000000..2d114c8 --- /dev/null +++ b/docs/build/api/ddl.rst @@ -0,0 +1,56 @@ +.. _alembic.ddl.toplevel: + +============= +DDL Internals +============= + +These are some of the constructs used to generate migration +instructions. The APIs here build off of the :class:`sqlalchemy.schema.DDLElement` +and :ref:`sqlalchemy.ext.compiler_toplevel` systems. + +For programmatic usage of Alembic's migration directives, the easiest +route is to use the higher level functions given by :ref:`alembic.operations.toplevel`. + +.. automodule:: alembic.ddl + :members: + :undoc-members: + +.. automodule:: alembic.ddl.base + :members: + :undoc-members: + +.. automodule:: alembic.ddl.impl + :members: + :undoc-members: + +MySQL +============= + +.. automodule:: alembic.ddl.mysql + :members: + :undoc-members: + :show-inheritance: + +MS-SQL +============= + +.. automodule:: alembic.ddl.mssql + :members: + :undoc-members: + :show-inheritance: + +Postgresql +============= + +.. automodule:: alembic.ddl.postgresql + :members: + :undoc-members: + :show-inheritance: + +SQLite +============= + +.. automodule:: alembic.ddl.sqlite + :members: + :undoc-members: + :show-inheritance: -- cgit v1.2.1