Navigation Menu

Skip to content

Commit

Permalink
Set field precision and lengths from QgsField
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Jan 14, 2020
1 parent b4f4c33 commit 8ca08ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/db_manager/db_plugins/postgis/connector.py
Expand Up @@ -124,9 +124,9 @@ def description(self):
self._description.append([
f.name(), # name
str, # type_code
10, # display_size
10, # internal_size
0, # precision
f.length(), # display_size
f.length(), # internal_size
f.precision(), # precision
None, # scale
True # null_ok
])
Expand Down

0 comments on commit 8ca08ec

Please sign in to comment.