Open GoogleCodeExporter opened 9 years ago
Regarding BOOLEAN, it could help to just change the CHECK statements. For the
usual content types, my DDL script created lines like these:
CHECK (excludefromnav IN (0, 1))
In Postgres, Boolean is represented as TRUE, 't', 'true', 'y', 'yes', and '1'
(and the opposites), so one can change these lines to
CHECK (excludefromnav IN ('0', '1'))
In my case, that helped and made the SQL statements work.
I didn't examine the code of ddl.py very closely, so I can't tell where the
wrong types BLOB and DATETIME for postgres come from - CM or SQLAlchemy?
Original comment by pingel...@gmail.com
on 8 Jul 2010 at 8:45
Original issue reported on code.google.com by
runy...@gmail.com
on 26 May 2010 at 1:13