deutschmarco / sqlautocode

Automatically exported from code.google.com/p/sqlautocode
Other
0 stars 0 forks source link

sqlautocode does not import MEDIUMBLOB from sqlalchemy.dialects.mysql #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create a database in MySQL with a table containing a MEDIUMBLOB
2. sqlautocode -d -o output.py 
mysql+mysqlconnector://user:password@127.0.0.1:3306/database
3. Import the file in Python

What is the expected output? What do you see instead?

sqlautocode should generate the statement from sqlalchemy.dialects.mysql import 
MEDIUMBLOB. Without this statement, the TurboGears application built on the 
output file will fail

What version of the product are you using? On what operating system?

SQLAutocode 0.7
Windows 7

Related software versions:

Python 2.7
MySQL-connector 1.07
SQLAlchemy 0.7.8py2.7 (with the modifications suggested here ... 
http://geert.vanderkelen.org/mysql-connector-python-1-0-5-beta/
)

Original issue reported on code.google.com by markeast...@gmail.com on 11 Oct 2012 at 11:23