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.
2 parents e39c56b + bf7c6c0 commit ad541d2Copy full SHA for ad541d2
flex-config/attributes.lua
@@ -19,6 +19,10 @@ tables.nodes = osm2pgsql.define_node_table('nodes', {
19
-- There is no built-in type for timestamps in osm2pgsql. So we use the
20
-- PostgreSQL type "timestamp" and then have to convert our timestamps
21
-- to a valid text representation for that type.
22
+ --
23
+ -- Timestamps in OSM are always in UTC, depending on your use case you
24
+ -- might want to store them using "timestamptz" instead.
25
+ -- See https://github.com/openstreetmap/osm2pgsql/issues/1785
26
{ column = 'created', sql_type = 'timestamp' },
27
{ column = 'uid', type = 'int' },
28
{ column = 'user', type = 'text' },
0 commit comments