You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1023 B
54 lines
1023 B
# schema.py
|
|
# Copyright (C) 2005-2014 the SQLAlchemy authors and contributors <see AUTHORS file>
|
|
#
|
|
# This module is part of SQLAlchemy and is released under
|
|
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
|
|
|
"""Compatiblity namespace for sqlalchemy.sql.schema and related.
|
|
|
|
"""
|
|
|
|
|
|
from .sql.schema import (
|
|
CheckConstraint,
|
|
Column,
|
|
ColumnDefault,
|
|
Constraint,
|
|
DefaultClause,
|
|
DefaultGenerator,
|
|
FetchedValue,
|
|
ForeignKey,
|
|
ForeignKeyConstraint,
|
|
Index,
|
|
MetaData,
|
|
PassiveDefault,
|
|
PrimaryKeyConstraint,
|
|
SchemaItem,
|
|
Sequence,
|
|
Table,
|
|
ThreadLocalMetaData,
|
|
UniqueConstraint,
|
|
_get_table_key,
|
|
ColumnCollectionConstraint,
|
|
)
|
|
|
|
|
|
from .sql.ddl import (
|
|
DDL,
|
|
CreateTable,
|
|
DropTable,
|
|
CreateSequence,
|
|
DropSequence,
|
|
CreateIndex,
|
|
DropIndex,
|
|
CreateSchema,
|
|
DropSchema,
|
|
_DropView,
|
|
CreateColumn,
|
|
AddConstraint,
|
|
DropConstraint,
|
|
DDLBase,
|
|
DDLElement,
|
|
_CreateDropBase,
|
|
_DDLCompiles
|
|
)
|
|
|