Switch timestamp to timestamptz (#4696)

* Switch timestamps to timestamptz

* update standard/custom objects logic to use timestamptz

* fix test
This commit is contained in:
Weiko
2024-03-28 22:39:41 +01:00
committed by GitHub
parent 27fdb00d07
commit 1829f4d009
21 changed files with 209 additions and 79 deletions

View File

@ -24,7 +24,7 @@ export const fieldMetadataTypeToColumnType = <Type extends FieldMetadataType>(
case FieldMetadataType.BOOLEAN:
return 'boolean';
case FieldMetadataType.DATE_TIME:
return 'timestamp';
return 'timestamptz';
case FieldMetadataType.RATING:
case FieldMetadataType.SELECT:
case FieldMetadataType.MULTI_SELECT: