We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744a8a8 commit 1fe10f2Copy full SHA for 1fe10f2
src/backend/postgres/table.rs
@@ -58,8 +58,8 @@ impl TableBuilder for PostgresQueryBuilder {
58
None => "decimal".into(),
59
},
60
ColumnType::DateTime(precision) => match precision {
61
- Some(precision) => format!("datetime({})", precision),
62
- None => "datetime".into(),
+ Some(precision) => format!("timestamp({}) without time zone", precision),
+ None => "timestamp without time zone".into(),
63
64
ColumnType::Timestamp(precision) => match precision {
65
Some(precision) => format!("timestamp({})", precision),
0 commit comments