Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

Switch timestamp to timestamptz #148

Closed Jaymon closed 1 year ago

Jaymon commented 1 year ago

I'd want to look into how SQLite handles these also. But I'm thinking I should change to this for all timestamps:

timestamp with time zone

references

The SQL standard requires that writing just timestamp be equivalent to timestamp without time zone, and PostgreSQL honors that behavior. timestamptz is accepted as an abbreviation for timestamp with time zone; this is a PostgreSQL extension.

Jaymon commented 1 year ago

This was done at some point in the last few weeks