module PgCinnamon

Constants

VERSION

Public Class Methods

load() click to toggle source
# File lib/pg_cinnamon.rb, line 7
def self.load
  ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition.include PgCinnamon::TableDefinition
  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::NATIVE_DATABASE_TYPES.merge!(tsquery: { name: "tsquery" })
  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend PgCinnamon::SchemaDumper
end