[Bastian Blank, 2009-04-20] > Creation of schema-qualified tables fails with the sqlite backend. I > want to use that in the unittests, so I don't require the real database.
I'm not sure it's a bug, how would you want SQLAlchemy to handle this in SQLite? [...] > Testcode: > > from sqlalchemy import MetaData, Table, Column, Integer > from sqlalchemy import create_engine > > metadata = MetaData() > abonnement_table = Table('test', metadata, > Column('id', Integer, primary_key=True), > schema='test', > ) > > engine = create_engine('sqlite:///:memory:') as a workaround, you can add here this line: engine.execute("ATTACH DATABASE ':memory:' AS test;") > metadata.create_all(engine) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org