Skip to content

Commit a5cc184

Browse files
stev-0nyalldawson
authored andcommittedMay 8, 2019
Add boolean type to DB Manager PostGIS provider
1 parent 12de739 commit a5cc184

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎python/plugins/db_manager/db_plugins/postgis/connector.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ def fieldTypes(self):
234234
"serial", "bigserial", # auto-incrementing ints
235235
"real", "double precision", "numeric", # floats
236236
"varchar", "varchar(255)", "char(20)", "text", # strings
237-
"date", "time", "timestamp" # date/time
237+
"date", "time", "timestamp", # date/time
238+
"boolean" # bool
238239
]
239240

240241
def getDatabasePrivileges(self):

0 commit comments

Comments
 (0)
Please sign in to comment.