# config/initializers/postgres_types.rb
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::NATIVE_DATABASE_TYPES.tap do |t|
  t[:primary_key] = "bigserial primary key"
  t[:datetime] = "timestamptz"
  t[:timestamp] = "timestamptz"
  t[:string] = "text"
end