Chlorus/sqlautocode

impost errors and pg dialect AttributeErrors with sqla 0.6beta2

Closed this issue · 0 comments

What steps will reproduce the problem?
1. Install sqlalchemy0.6beta2
2. run sqlautocode on a valid (postgres db)



I have a patch on my clone, and would ask you to pull it from my repo:

https://code.google.com/r/paulbalomiri-sqlautocode/source/detail?
r=b27bd627ad2ca6895907bda3df0d35a4b1fc5c6b

The clone catches ImportErrors classes containing the word 'relation' and 
tries an import using 'relationship'
(see also http://hg.sqlalchemy.org/sqlalchemy/rev/a053c0708a43 ) 

db.dialect:
The table_names method has been renamed to get_tablenames
the get_default_schema_name renamed to default_schema_name. 

All changes are compatible with sqla 0.5



Original issue reported on code.google.com by paulbalo...@gmail.com on 28 Mar 2010 at 1:41