Menu

Column type boolean vs int

ART Help
Rijk
2016-07-08
2016-10-05
  • Rijk

    Rijk - 2016-07-08

    Hello,

    I'm trying to deploy art (3.0-alpha) on a postgres (9.4) database. All the boolean columns seem to be of type integer but postgres requires them to be of type boolean. For example art_users.active, art_users.can_change_password etc.

    How can I work around that incompatibility?

    Regards,

    Rijk

     
    • Timothy Anyona

      Timothy Anyona - 2016-07-08

      The Integer datatype is being used for booleans for greater compatibility across different database systems.

      • Did you change the integer data types to boolean or are you using the art_tables.sql script as it is.
      • Is there any error reported in the logs?
       

Log in to post a comment.

MongoDB Logo MongoDB