- PyPy is supported.
+- Python 2.5 is supported, needs
+ __future__.with_statement
+
0.1.0
=====
- Initial release. Status of features:
def _unique_constraint(name, source, local_cols, **kw):
t = schema.Table(source, schema.MetaData(),
*[schema.Column(n, NULLTYPE) for n in local_cols])
- uq = schema.UniqueConstraint(*t.c, name=name, **kw)
+ kw['name'] = name
+ uq = schema.UniqueConstraint(*t.c, **kw)
# TODO: need event tests to ensure the event
# is fired off here
t.append_constraint(uq)
+from __future__ import with_statement
+
import os
from alembic import util
import shutil
+from __future__ import with_statement
from alembic import context
from sqlalchemy import engine_from_config
from logging.config import fileConfig
+from __future__ import with_statement
+
from mako.template import Template
import sys
import os
+from __future__ import with_statement
+
from sqlalchemy.engine import url, default
import shutil
import os
"""Test op functions against MSSQL."""
-
+from __future__ import with_statement
from tests import op_fixture, capture_context_buffer, \
_no_sql_testing_config, assert_raises_message, staging_env, \
three_rev_fixture, clear_staging_env
-
+from __future__ import with_statement
from tests import op_fixture, db_for_dialect, eq_, staging_env, \
clear_staging_env, _no_sql_testing_config,\
capture_context_buffer, requires_07
+from __future__ import with_statement
+
from tests import clear_staging_env, staging_env, \
_no_sql_testing_config, sqlite_db, eq_, ne_, capture_context_buffer, \
three_rev_fixture
+from __future__ import with_statement
from tests import clear_staging_env, staging_env, _sqlite_testing_config, sqlite_db, eq_, ne_
from alembic import command, util
from alembic.script import ScriptDirectory