deb-alembic/docs/build/api/ddl.rst

1.1 KiB

DDL Internals

These are some of the constructs used to generate migration instructions. The APIs here build off of the sqlalchemy.schema.DDLElement and 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 alembic.operations.toplevel.

alembic.ddl

alembic.ddl.base

alembic.ddl.impl

MySQL

alembic.ddl.mysql

MS-SQL

alembic.ddl.mssql

Postgresql

alembic.ddl.postgresql

SQLite

alembic.ddl.sqlite