Skip to content

Commit

Permalink
Add boolean type to DB Manager PostGIS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
stev-0 authored and nyalldawson committed May 8, 2019
1 parent 12de739 commit a5cc184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/db_manager/db_plugins/postgis/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ def fieldTypes(self):
"serial", "bigserial", # auto-incrementing ints
"real", "double precision", "numeric", # floats
"varchar", "varchar(255)", "char(20)", "text", # strings
"date", "time", "timestamp" # date/time
"date", "time", "timestamp", # date/time
"boolean" # bool
]

def getDatabasePrivileges(self):
Expand Down

0 comments on commit a5cc184

Please sign in to comment.