Skip to content
Permalink
Browse files

DateTime is also a native type for postgres provider

  • Loading branch information
nyalldawson committed Jan 27, 2016
1 parent a665b7d commit 0356752c641f4456b377f944c536274124cee23d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/postgres/qgspostgresprovider.cpp
@@ -179,6 +179,7 @@ QgsPostgresProvider::QgsPostgresProvider( QString const & uri )

// date type
<< QgsVectorDataProvider::NativeType( tr( "Date" ), "date", QVariant::Date, -1, -1, -1, -1 )
<< QgsVectorDataProvider::NativeType( tr( "Date & Time" ), "timestamp without time zone", QVariant::DateTime, -1, -1, -1, -1 )
;

QString key;

0 comments on commit 0356752

Please sign in to comment.
You can’t perform that action at this time.