Use PropelTypes::DATE instead of PropelTypes::TIMESTAMP for DATE columns in OracleSchemaParser #58

Closed
wants to merge 1 commit into
from
View
2 generator/lib/reverse/oracle/OracleSchemaParser.php
@@ -42,7 +42,7 @@ class OracleSchemaParser extends BaseSchemaParser
'BLOB' => PropelTypes::BLOB,
'CHAR' => PropelTypes::CHAR,
'CLOB' => PropelTypes::CLOB,
- 'DATE' => PropelTypes::TIMESTAMP,
+ 'DATE' => PropelTypes::DATE,
'BIGINT' => PropelTypes::BIGINT,
'DECIMAL' => PropelTypes::DECIMAL,
'DOUBLE' => PropelTypes::DOUBLE,