pg_timestamptz.rb

Path: lib/sequel/extensions/pg_timestamptz.rb
Last Update: Sat Jun 02 02:04:22 +0000 2018

frozen-string-literal: true

The pg_timestamptz extension changes the default timestamp type for the database to be timestamptz (+timestamp with time zone+) instead of timestamp (+timestamp without time zone+). This is recommended if you are dealing with multiple timezones in your application.

To load the extension into the database:

  DB.extension :pg_timestamptz

Related module: Sequel::Postgres::Timestamptz

[Validate]