[sqlalchemy] Re: sharding database elixir metadata.drop_all and metadata.create_all problem

2008-06-19 Thread Michael Bayer
im not familiar with what __metada__ is and this seems to be an elixir specific issue. metadata.drop_all()/create_all() always do what they say. On Jun 19, 2008, at 2:01 PM, lilo wrote: I have tried this command: a.a_metadata.drop_all(bind=db) a.a_metadata.create_all(bind=db)

[sqlalchemy] Re: sharding database elixir metadata.drop_all and metadata.create_all problem

2008-06-19 Thread Jonathan LaCour
Michael Bayer wrote: im not familiar with what __metada__ is and this seems to be an elixir specific issue. metadata.drop_all()/create_all() always do what they say. Yeah, the metadata's he's creating are empty, so they aren't creating anything. He needs to associate the metadata with some