mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #1265 from nyalldawson/postgis_time
Make PostGIS provider correctly create time and datetime formats
This commit is contained in:
commit
b4b01550e4
@ -2788,7 +2788,13 @@ bool QgsPostgresProvider::convertField( QgsField &field )
|
||||
break;
|
||||
|
||||
case QVariant::DateTime:
|
||||
fieldType = "timestamp without time zone";
|
||||
break;
|
||||
|
||||
case QVariant::Time:
|
||||
fieldType = "time";
|
||||
break;
|
||||
|
||||
case QVariant::String:
|
||||
fieldType = "varchar";
|
||||
fieldPrec = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user