[sqlalchemy] How to use schema with DDL()

2013-05-09 Thread Wolfgang Meiners
Hi all, i have a simple database that uses a trigger. After some searching if found the following solution for my problem and everything works fine: In this database i have to tables (valid, invalid) and i can in insert a number into table valid only when this number is not in table invalid. Of

Re: [sqlalchemy] How to use schema with DDL()

2013-05-09 Thread Michael Bayer
On May 9, 2013, at 6:32 AM, Wolfgang Meiners wolfgangmeiner...@web.de wrote: Now i want to run everything inside the schema 'test'. Two questions arises: 1) How can i create schema test automatically when it does not exist? This should be somehow related to