Boolean types with Postgres adapter

11 views
Skip to first unread message

John Underhill

unread,
May 10, 2019, 10:34:17 PM5/10/19
to web2py-users
The documentation states the SQLite lacks a boolean data type, so PyDAL maps boolean values to CHAR(1).  But why do you do this with Postgres?  Looking in my migration logs, I see boolean fields being created as CHAR(1).  Postgres does have a boolean type.

John
Reply all
Reply to author
Forward
0 new messages