Set correct datatype for column 'more_data' in PostgreSQL
Task-number: QTBUG-63861 Change-Id: Ice9e788841046482bf5c4653eb859d00bc6b1c59 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
This commit is contained in:
parent
7d10936443
commit
429d5f0c5e
@ -77,6 +77,8 @@ void tst_QSqlDriver::recreateTestTables(QSqlDatabase db)
|
||||
doubleField = "more_data double";
|
||||
else if (dbType == QSqlDriver::Oracle)
|
||||
doubleField = "more_data number(8,7)";
|
||||
else if (dbType == QSqlDriver::PostgreSQL)
|
||||
doubleField = "more_data double precision";
|
||||
else
|
||||
doubleField = "more_data double(8,7)";
|
||||
QVERIFY_SQL( q, exec("create table " + relTEST1 +
|
||||
|
Loading…
Reference in New Issue
Block a user