on Alembic, there’s no dialect as of yet. Though you can make a “fake” one
like this:
from alembic.ddl import impl
class FirebirdDialect(impl.DefaultImpl):
__dialect__ = ‘firebird'
transactional_ddl = True
just making that class will add it to the _impls dict and will get you past the
KeyError you have there.
though as far as support for firebird-specific ALTER directives, we haven’t
looked into that.
Steve <[email protected]> wrote:
> Hi,
>
> I am testing out Firebird b/c I want to use Alembic to set up my unit tests.
> Is Firebird supported by Alembic? I am getting the error message below. I am
> running Alembic 0.6.0 and SqlAlchemy 0.8.2
>
> File ".../.virtualenv/local/lib/python2.7/site-packages/alembic/ddl/impl.py",
> line 50, in get_by_dialect
> return _impls[dialect.name]
> KeyError: 'firebird'
>
> Thanks,
> Steve
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy-alembic" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.